13.06.2011, 02:36
You messed up the brackets and returns.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
if(IsPlayerConnected(killerid))
{
GivePlayerMoney(killerid, 50);
SetPlayerScore(killerid, GetPlayerScore(killerid) +1);
}
return 1;
}