Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
  2. {
  3. if(issuerid != INVALID_PLAYER_ID && bodypart == 9)// Me imagino que es para todas las armas.
  4. {
  5. // En la cabesa y muere.
  6. SetPlayerHealth(playerid, 0.0)
  7. }
  8. return 1;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement