29.11.2014, 18:39
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); } else { SendDeathMessage(killerid,playerid,reason); SetPlayerScore(killerid,GetPlayerScore(killerid)+1); PlayerInfo[killerid][pUbojstva]++; PlayerInfo[playerid][pSmrti]++; } return 1; }