Results 1 to 3 of 3

Thread: Alarm to X player on screen

  1. #1
    iBot User
    Join Date
    Jun 2014
    Posts
    20
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    10
    Rep Power
    3

    Alarm to X player on screen

    Hello I need this action "Alarm to 'X' player on screen"
    I have tested some that I found here but they dont work...

    Thanks and sorry for bad english.

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    @issaraujo

    Lua Code:
     
    local PlayerNames = {'Player1', 'Player2','Player3'}
     
    for i=1,#PlayerNames do
       if paround(7,PlayerNames[i]) > 0 then
          for j=1,4 do
             playsound('alert.wav') 
             wait(1500)
          end
       end
    end

  3. #3
    iBot User
    Join Date
    Jun 2014
    Posts
    20
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    10
    Rep Power
    3
    Quote Originally Posted by Drakke View Post
    @issaraujo

    Lua Code:
     
    local PlayerNames = {'Player1', 'Player2','Player3'}
     
    for i=1,#PlayerNames do
       if paround(7,PlayerNames[i]) > 0 then
          for j=1,4 do
             playsound('alert.wav') 
             wait(1500)
          end
       end
    end
    thanks

Posting Permissions

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