SetVehicleParamsEx(vehid, 1, 1, 0, 0, 0, 0, 0);
SetVehicleLights(vehicleid, on)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,engine,on,alarm,doors,bonnet,boot,objective);
}