Can Someone Help Solve This Error?
#2

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;
}
Reply


Messages In This Thread
Can Someone Help Solve This Error? - by Bmxerlmao5288 - 13.06.2011, 02:34
Re: Can Someone Help Solve This Error? - by futuretrucker - 13.06.2011, 02:36
Re: Can Someone Help Solve This Error? - by jot16 - 13.06.2011, 02:37
Re: Can Someone Help Solve This Error? - by Bmxerlmao5288 - 13.06.2011, 02:39

Forum Jump:


Users browsing this thread: 1 Guest(s)