Guest User

Untitled

a guest
Jan 27th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
  2. {
  3. // if(issuerid != INVALID_PLAYER_ID)
  4. {
  5. new Float: hp;
  6. GetPlayerHealth(playerid, hp);
  7. if( hp <= 10)
  8. {
  9. ApplyAnimation(playerid, "CRACK", "crckdeth1", 4.1, 1, 0, 0, 0, 0, 0);
  10. SendClientMessage(playerid, -1, "Ranjeni ste, pozovite pomoc!");
  11. }
  12. }
  13. return 1;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment