[HELP] Script is acting wierd
#1

So basically, I'm trying to work on a taxi job, and I want it to check if either your first or second job is a taxi driver.
Basically, one you get in with either job as a taxi driver, it says "You are now accepting taxi calls!", but a second later, it says "You must be a taxi driver to drive a taxi!" and kicks you out. Can you please tell me why?
PHP код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
           {
               if(
Player[playerid][Job] == || Player[playerid][Job2] == 8)
               {
                   
SendClientMessage(playeridWHITE"You are now accepting taxi calls!");
                   
OnTaxiDuty[playerid] = 1;
            }
            else
            {
                
SendClientMessage(playeridWHITE"You must be a taxi driver to drive a taxi!");
                
RemovePlayerFromVehicle(playerid);
            }
           } 
Reply


Messages In This Thread
[HELP] Script is acting wierd - by Nuke547 - 19.02.2012, 16:12
Re: [HELP] Script is acting wierd - by V_LOPE - 19.02.2012, 16:17
Re: [HELP] Script is acting wierd - by Madd Kat - 19.02.2012, 16:18
Re: [HELP] Script is acting wierd - by aRoach - 19.02.2012, 16:19
Re: [HELP] Script is acting wierd - by ReneG - 19.02.2012, 16:20
Re: [HELP] Script is acting wierd - by Universal - 19.02.2012, 16:22
Re: [HELP] Script is acting wierd - by Madd Kat - 19.02.2012, 16:24
Re: [HELP] Script is acting wierd - by aRoach - 19.02.2012, 16:26
Re: [HELP] Script is acting wierd - by Nuke547 - 19.02.2012, 16:26
Re: [HELP] Script is acting wierd - by Universal - 19.02.2012, 16:28

Forum Jump:


Users browsing this thread: 3 Guest(s)