Problem ManualVehicleEngineAndLights();
#1

When I use ManualVehicleEngineAndLights (); All vehicles will turn off the engine and lights, including bicycles.
How can a bike move without turning off the engine?
Reply
#2

Simply turn the engine on if the vehicle is a bike model.

You can do it in OnVehicleSpawn or when it's created.
Reply
#3

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
Simply turn the engine on if the vehicle is a bike model.

You can do it in OnVehicleSpawn or when it's created.
Oh, I did not think of it, thank you
Reply
#4

Try this
PHP код:
{
       new 
motlualarporcappormaob;
       
GetVehicleParamsEx(vehicleidmotlualarporcappormaob);
    
SetVehicleParamsEx(vehicleidVEHICLE_PARAMS_OFFlualarporcappormaob);

    if(
GetVehicleModel(vehicleid) == 510)
    {
        
SetVehicleParamsEx(vehicleidVEHICLE_PARAMS_ONlualarporcappormaob);
      }

    if(
GetVehicleModel(vehicleid) == 432){

        
SetVehicleHealth(vehicleid10000);
    }

    switch(
GetVehicleModel(vehicleid)){

        case 
433,427,490,528,599,601:
            
SetVehicleHealth(vehicleid4000);
    } 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)