14.03.2012, 21:02
hey just made my command to join a job, only done one atm but i cannot use the command ingame, i think i may have made an error in the code somewhere :/
As you can see is basically it just checks if the player is in a specific location and it'll make there job as a Trucker but the server isnt recognising it as a command.
pawn Код:
CMD:acceptjob(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, -1547.7715,123.7701,3.5547,309.2723))
{
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 ::.");
}
}