Advertisement
Guest User

damange

a guest
Aug 13th, 2012
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
  2. {
  3. if(issuerid != INVALID_PLAYER_ID)
  4. {
  5. new str[10];
  6. format(str,sizeof(str),"/r/-%.0f!",amount);
  7. GameTextforPlayer(playerid,str,3000,5);
  8. PlayerPlaySound(playerid,1057);
  9. return 1;
  10. }
  11. PlayerPlaySound(issuerid,1057);
  12. return 1;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement