19.12.2013, 13:44
Код:
public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage(killerid, playerid, reason); SetPlayerScore (killerid, GetPlayerScore (killerid) + 1); Player[killerid][pScore]++; Player[killerid][pKills]++; Player[playerid][pDeaths]++; GivePlayerMoney(killerid,2); return 1; }
This's useless:
Код:
if(killerid != INVALID_PLAYER_ID)