MegastoRM

healed

Sep 4th, 2012
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.38 KB | None | 0 0
  1. #include <amxmodx>
  2. #include <fun>
  3.  
  4. public plugin_init() {
  5.     register_plugin("Hpadd","1.0","AMD")
  6.     register_event("DeathMsg", "umro", "ade");}
  7.  
  8. public umro(){
  9.     new attacker = read_data(1)
  10.     if(is_user_alive(attacker))
  11.     {
  12.         set_user_health(attacker, get_user_health(attacker)+30);
  13.         set_hudmessage(0, 255, 0, -1.0, 0.30, 0, 6.0, 3.0)
  14.         show_hudmessage(attacker, "+30HP")
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment