14.09.2011, 01:39
I'm not really sure whats wrong, but here's my code
And here's my warning
Any help would be appreciated, thanks.
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;
}
}
}
Код:
warning 209: function "cmd_delivery" should return a value