Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include "../modular/another"
- public OnPlayerDeath(playerid, killerid, reason)
- {
- if(killerid != INVALID_PLAYER_ID)
- {
- SCMF(killerid, -1, "You killed player (%i)", playerid);
- if(isPlayerInPaint[playerid] > 0 && isPlayerInPaint[killerid] > 0)
- {
- paintKills[killerid] ++;
- paintDeaths[playerid] ++;
- }
- if(isPlayerTheAdmin[playerid] > 0) SCMF(playerid, -1, "You have been killed by player with id %i", killerid);
- killerid = INVALID_PLAYER_ID;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment