16.03.2012, 22:00
Hi just finished making my job commands for a trucker job and even if i am in a Mule (414) and i am a trucker, i still cannot use /startjob, i dont get a error it just dosn't work. This time i made sure i included the return 1; at the end but i think this may be different. Here is the script for /startjob.
pawn Код:
CMD:startjob(playerid, params[])
{
if(IsPlayerInVehicle(playerid, 414))
{
if(pJob[playerid] == TRUCKER)
{
SendClientMessage(playerid, COLOR_WHITE, ".:: You have started work ::.");
SetPlayerCheckpoint(playerid, -1580.2484,74.9872,3.5547, 3.0);
trucking[playerid] = 1;
return 1;
}
SendClientMessage(playerid, COLOR_SYNTAX, ".:: You must be a trucker to work in this vehicle ::.");
}
return 1;
}