19.02.2012, 16:12 
	
	
	
		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?
	
	
	
	
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] == 8 || Player[playerid][Job2] == 8)
               {
                   SendClientMessage(playerid, WHITE, "You are now accepting taxi calls!");
                   OnTaxiDuty[playerid] = 1;
            }
            else
            {
                SendClientMessage(playerid, WHITE, "You must be a taxi driver to drive a taxi!");
                RemovePlayerFromVehicle(playerid);
            }
           } 


