Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerDeath(playerid, killerid, reason)
- {
- if(IsPlayerDeath[playerid]) return 1;
- if(killerid != INVALID_PLAYER_ID && IsPlayerDeath[killerid]) return 1;
- IsPlayerDeath[playerid] = true;
- if(killerid != INVALID_PLAYER_ID)
- {
- if(InPaint[playerid] == InPaint[killerid]) {
- Points[killerid]++;
- Points[playerid]--;
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment