Disable drive vehicles
#3

pawn Код:
stock VehicleEngine(vehicleid,VAR)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
if(VAR == 1)
    {
        SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
    }else{
        SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
    }
}
Reply


Messages In This Thread
Disable drive vehicles - by FL3GM4 - 25.12.2012, 20:44
Re: Disable drive vehicles - by Blaeks - 25.12.2012, 20:49
Re: Disable drive vehicles - by park4bmx - 25.12.2012, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)