Warning that I don't know how to fix
#1

I'm not really sure whats wrong, but here's my code
pawn Код:
COMMAND:delivery(playerid, cmdtext)
{
    if(!IsPlayerInRangeOfPoint(playerid, 7.0, 1827.8311,-1075.7113,23.9317))
    {
        if(simplejobrunning[playerid] == 1)
        {
            GivePlayerMoney(playerid, 7500);
            SendClientMessage(playerid, blue, "Congratulations, you have earned 7500");
            return 1;
        }
    }
}
And here's my warning
Код:
warning 209: function "cmd_delivery" should return a value
Any help would be appreciated, thanks.
Reply


Messages In This Thread
Warning that I don't know how to fix - by rangerxxll - 14.09.2011, 01:39
Re: Warning that I don't know how to fix - by [HiC]TheKiller - 14.09.2011, 01:40
Re: Warning that I don't know how to fix - by rangerxxll - 14.09.2011, 01:43
Re: Warning that I don't know how to fix - by Dr - 14.09.2011, 01:51
Re: Warning that I don't know how to fix - by Kush - 14.09.2011, 02:28

Forum Jump:


Users browsing this thread: 1 Guest(s)