Quote:
Originally Posted by UltraScripter
Hare :
pawn Код:
CMD:rob(playerid, params[]) //rob with little letter not big else it wont WOrk! { if(IsPlayerInRangeOfPoint(playerid, 2.5, x, y, z)) //type hare the checkpoint position the 2.5 is range! { DestroyCheckpoint(Pickup1); } else { SendClientMessage(playerid, 0xFF0000FF, "You Are Not In The Pickup Place!"); } } return 1; }
|
That piece of code will not work at all.
It will return
Код:
warning 209: function "cmd_rob" should return a value
Remove the closing bracket before the return 1.