Results 1 to 3 of 3

Thread: Low health alarm/alert!

  1. #1
    Normal User
    Join Date
    Nov 2012
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0

    Low health alarm/alert!

    Low health alarm/alert!

    Is it possible?

  2. #2
    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
    PHP Code:
    local HEALTH_PERCENT_TO_ALERT 30 

    if (hppc <= HEALTH_PERCENT_TO_ALERTthen
        playsound
    ("alert.wav")
    end 
    Last edited by soder; 11-24-2012 at 04:32 PM.

  3. #3
    Normal User
    Join Date
    Nov 2012
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0
    Thanks alot bro!

Posting Permissions

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