11.04.2017, 19:34
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:
This are the vehicles:
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;
PHP код:
g_Vehicle[9] = CreateVehicle(409, 952.2495, -1354.0212, 13.1623, 271.4942, 6, 6, -1); //Stretch
g_Vehicle[10] = CreateVehicle(560, 966.7414, -1355.2747, 13.0566, 179.6440, 6, 175, -1); //Sultan
g_Vehicle[11] = CreateVehicle(420, 950.9326, -1390.5573, 13.0804, 90.2256, 6, 12, -1); //Taxi
g_Vehicle[12] = CreateVehicle(438, 958.2101, -1390.4835, 13.2839, 88.7154, 6, 70, -1); //Cabbie