29.03.2013, 23:36
it give me wrong: invalid function or declaration
Код:
public OnPlayerDeath(playerid, killerid, reason) { SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); // +1 Score to KillerID SetPlayerScore(playerid, GetPlayerScore(playerid) - 1); // -1 Score to PlayerID SendDeathMessage(killerid, playerid, reason); // Death Windows GivePlayerMoney(playerid, -200); // - 100 to the player get Killed GivePlayerMoney(killerid, 457); // + 100 to the killer } return 1; }