Guest User

Untitled

a guest
Feb 5th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. public OnPlayerDeath(playerid, killerid, reason)
  2. {
  3. if(IsPlayerDeath[playerid]) return 1;
  4. if(killerid != INVALID_PLAYER_ID && IsPlayerDeath[killerid]) return 1;
  5.  
  6. IsPlayerDeath[playerid] = true;
  7.  
  8. if(killerid != INVALID_PLAYER_ID)
  9. {
  10. if(InPaint[playerid] == InPaint[killerid]) {
  11. Points[killerid]++;
  12. Points[playerid]--;
  13. }
  14. }
  15. return 1;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment