Advertisement
Guest User

Untitled

a guest
Apr 18th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
  2. {
  3. if(bodypart == 2) switch(weaponid)
  4. {
  5. case 24,25,26,27,30,31,33,34: SetPlayerHealth(damagedid,0);
  6. }
  7. return 1;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement