Engine help
#4

what did u do ?
edit
a quote from one of my old posts

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
dont really know if vortex has this allredy :X
pawn Код:
//At the bottom , very bottom of the script just add this
stock VehicleEngine(vehicleid,VAR)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
if(VAR == 1)
    {
        VehEngineStat[vehicleid]=1;
        SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
    }else{
        VehEngineStat[vehicleid]=0;
        SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
    }
}
VehicleEngine(vehicleid,VAR)
vehicled is the vehicle's engine you want to taggle ON/OFF
VAR is the the ON/OFF fucntion, "TRUE" = ON , "FALSE" = OFF
Reply


Messages In This Thread
Engine help - by arko123 - 02.01.2013, 19:47
Re: Engine help - by park4bmx - 02.01.2013, 19:49
Re: Engine help - by arko123 - 02.01.2013, 19:55
Re: Engine help - by park4bmx - 02.01.2013, 20:00

Forum Jump:


Users browsing this thread: 1 Guest(s)