Quote:
Originally Posted by Calgon
pawn Code:
CMD:acceptjob(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, -1547.7715,123.7701,3.5547,309.2723)) // Here was the problem { pJob[playerid] = TRUCKER; SendClientMessage(playerid, COLOR_WHITE, ".:: You have now joined the job, Trucker ::."); SendClientMessage(playerid, COLOR_WHITE, ".:: To start work grab a truck and use /startjob ::."); } }
You need to add an extra closing bracket whenever you use a function in an if statement, to close the function/if statement.
|
Thanks calgon...you are the godfather