[Pedido] Comando ligar carro!
#7

Quote:
Originally Posted by Larceny
Посмотреть сообщение
ManualVehicleEngineAndLights();

Uma funзгo que pode lhe ser ъtil:
pawn Код:
// Funзгo para ligar/desligar motor de um veнculo
stock SetVehicleEngineState(vid, setstate)
{
     new engine,lights,alarm,doors,bonnet,boot,objective;
     GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
     if(setstate) SetVehicleParamsEx(vid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
     else SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
}
Retirada do vehicleutil.inc.
como usaria isso?
Reply


Messages In This Thread
Comando ligar carro! - by Kasura - 06.01.2013, 00:34
Re: Comando ligar carro! - by Larceny - 06.01.2013, 00:36
Re: Comando ligar carro! - by Joao Pedro - 06.01.2013, 00:49
Re: Comando ligar carro! - by Jefferson Santos - 07.01.2013, 12:34
Re: Comando ligar carro! - by TreePuncher - 07.01.2013, 18:02
Re: Comando ligar carro! - by LuxuN - 07.01.2013, 18:15
Re: Comando ligar carro! - by VenoN - 07.01.2013, 18:18
Re: Comando ligar carro! - by Larceny - 07.01.2013, 18:30

Forum Jump:


Users browsing this thread: 2 Guest(s)