Only drive-able on duty
#1

I am creating a taxi job and i added vehicles with objects.
How do i make it, that you only can drive the vehicle when you are on taxi duty(so that passengers can still enter)?

When you go on taxi duty it does this:
PHP код:
PlayerInfo[playerid][TaxiDuty] = 1
This are the vehicles:
PHP код:
    g_Vehicle[9] = CreateVehicle(409952.2495, -1354.021213.1623271.494266, -1); //Stretch
    
g_Vehicle[10] = CreateVehicle(560966.7414, -1355.274713.0566179.64406175, -1); //Sultan
    
g_Vehicle[11] = CreateVehicle(420950.9326, -1390.557313.080490.2256612, -1); //Taxi
    
g_Vehicle[12] = CreateVehicle(438958.2101, -1390.483513.283988.7154670, -1); //Cabbie 
Reply


Messages In This Thread
Only drive-able on duty - by jasperschellekens - 11.04.2017, 19:34
Re: Only drive-able on duty - by DarkSkull - 11.04.2017, 19:38
Re: Only drive-able on duty - by DarkSkull - 11.04.2017, 19:42
Re: Only drive-able on duty - by jasperschellekens - 11.04.2017, 21:53
Re: Only drive-able on duty - by DarkSkull - 11.04.2017, 21:58
Re: Only drive-able on duty - by jasperschellekens - 11.04.2017, 22:50
Re: Only drive-able on duty - by DarkSkull - 11.04.2017, 22:58
Re: Only drive-able on duty - by Vince - 12.04.2017, 05:40
Re: Only drive-able on duty - by DarkSkull - 12.04.2017, 05:51
Re: Only drive-able on duty - by Meller - 12.04.2017, 12:02

Forum Jump:


Users browsing this thread: 1 Guest(s)