Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: If player name "Mauroklit" on screen then sound

  1. #1
    Normal User Pukielos's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    506
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    57
    Rep Power
    6

    If player name "Mauroklit" on screen then sound

    someone will share the action?

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    If pname(7, "Maurolkit") then
    closetibia()
    end

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    if paround(7, "PLAYER_NAME", "PLAYER_NAME2") then
    playsould("monster.wav")
    end

  4. #4
    Normal User jesusz0r's Avatar
    Join Date
    Jun 2012
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    17
    Rep Power
    5
    Code:
    if paround(7, false, "Mauroltik") then
    playsound("monster.wav")
    end

  5. #5
    Normal User Pukielos's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    506
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    57
    Rep Power
    6
    Quote Originally Posted by soder View Post
    if paround(7, "PLAYER_NAME", "PLAYER_NAME2") then
    playsould("monster.wav")
    end
    doesnt working ;s

    jesuszor too

  6. #6
    Normal User Pukielos's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    506
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    57
    Rep Power
    6
    add on creatures player name and all working, and anyway thanks

  7. #7
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Quote Originally Posted by Pukielos View Post
    doesnt working ;s

    jesuszor too
    Typo, should be playsound(), not playsould()

  8. #8
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    PHP Code:
    if paround(7"Mauroltik") >= 1
    then
        playsound
    ("alert.wav")
    end 
    Last edited by blakw; 07-20-2012 at 01:06 AM.


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  9. #9
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    PHP Code:
    if paround(7"Mauroltik") > 0
    then
        say
    ('your a noob')
        
    playsound("alert.wav")
    end 

  10. #10
    Normal User Raphael's Avatar
    Join Date
    Apr 2012
    Location
    São Paulo, Brazil
    Posts
    297
    Mentioned
    1 Post(s)
    Tagged
    3 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    78
    Rep Power
    5
    Dude, seriously, there's an Alert specifically for that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •