04.05.2015, 16:11
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) { GivePlayerMoney(killerid, random(5000)); } GivePlayerMoney(playerid, -400); SetPlayerScore(playerid, GetPlayerScore(playerid) + 1); SendDeathMessage(killerid, playerid, reason); return 1; }
Why deceased received Score ?