03.08.2014, 21:04
Not soure but try to make it like this :
pawn Код:
if (engine == 0)
{ //add this
SetVehicleParamsEx(vehicleid, 1, lights, a, d, hood, trunk, o);
} // and close this
else
{ //add this
SetVehicleParamsEx(vehicleid, 0, lights, a, d, hood, trunk, o);
}//close this