Guest User

Untitled

a guest
Feb 2nd, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. #include "../modular/another"
  4.  
  5. public OnPlayerDeath(playerid, killerid, reason)
  6. {
  7. if(killerid != INVALID_PLAYER_ID)
  8. {
  9. SCMF(killerid, -1, "You killed player (%i)", playerid);
  10.  
  11. if(isPlayerInPaint[playerid] > 0 && isPlayerInPaint[killerid] > 0)
  12. {
  13. paintKills[killerid] ++;
  14. paintDeaths[playerid] ++;
  15. }
  16.  
  17. if(isPlayerTheAdmin[playerid] > 0) SCMF(playerid, -1, "You have been killed by player with id %i", killerid);
  18.  
  19. killerid = INVALID_PLAYER_ID;
  20. }
  21. return 1;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment