command not working ZCMD
#1

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;
}
Reply


Messages In This Thread
command not working ZCMD - by NewerthRoleplay - 16.03.2012, 22:00
Re: command not working ZCMD - by McCarthy - 16.03.2012, 22:19
Re: command not working ZCMD - by NewerthRoleplay - 16.03.2012, 22:33
Re: command not working ZCMD - by Fj0rtizFredde - 16.03.2012, 22:40
Re: command not working ZCMD - by McCarthy - 16.03.2012, 22:42
Re: command not working ZCMD - by NewerthRoleplay - 16.03.2012, 22:50
Re: command not working ZCMD - by NewerthRoleplay - 16.03.2012, 22:57
Re: command not working ZCMD - by Quinlynn - 16.03.2012, 23:52
Re: command not working ZCMD - by NewerthRoleplay - 17.03.2012, 13:22

Forum Jump:


Users browsing this thread: 4 Guest(s)