SHARE
TWEET

Untitled

a guest Dec 14th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include            <amxmodx>
  2. #include            <cstrike>      
  3.  
  4. new HUDEVENT
  5.  
  6. public      plugin_init() {
  7.         set_task(1.0,       "HUDINFO",  _, _, _, "b")
  8.        
  9.         HUDEVENT        =       CreateHudSyncObj()
  10. }
  11.  
  12. public      HUDINFO() {
  13.         for(new id = 0; id <= get_maxplayers(); id++) {
  14.             if(is_user_connected(id) && is_user_alive(id)) {
  15.                 set_hudmessage(255, 255, 0, -1.0, 0.90, 0, 6.0, 1.0)
  16.                 ShowSyncHudMsg(id, HUDEVENT, "HEALTH: %d", get_user_health(id))
  17.             }
  18.         }
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top