09.10.2012, 12:38
Here is my OnPlayerDeath callback:
What's wrong with it? I really wanna get rid of this problem
Код:
public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage(killerid, playerid, reason); SetPlayerScore(playerid, GetPlayerScore(playerid) - 1); SetPlayerScore(killerid, GetPlayerScore(playerid) + 1); GivePlayerMoney(playerid, -20000); return 1; }