How to force?
#8

pawn Code:
new vehicleid = GetPlayerVehicleID(playerid);
if(vehicleid != 0)
{
    new engine,
        lights,
        alarm,
        doors,
        bonnet,
        boot,
        objective;

    GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
    lights = (lights == 1) (0) : (1);

    SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
}
Reply


Messages In This Thread
How to force? - by Eclips - 11.11.2014, 11:32
Re: How to force? - by Toxik - 11.11.2014, 12:19
Re : How to force? - by Eclips - 11.11.2014, 13:06
Re: How to force? - by UltraScripter - 11.11.2014, 16:51
Re: How to force? - by UltraScripter - 11.11.2014, 16:55
Re : How to force? - by Eclips - 12.11.2014, 13:08
Re : How to force? - by Eclips - 16.11.2014, 11:33
Re: How to force? - by RedFusion - 16.11.2014, 11:39
Re : How to force? - by Eclips - 16.11.2014, 12:34

Forum Jump:


Users browsing this thread: 3 Guest(s)