23.05.2011, 12:13
Use GetVehicleParamsEx first to get the current state of vehicle. and then Use SetVehicleParamsEx to set.
And yeah, you are using "SetVehicleParamsEx(vehicleid, 0, 0, ..)"
instead of 0, use VEHICLE_PARAMS_OFF and for 1 use VEHICLE_PARAMS_ON.
And yeah, you are using "SetVehicleParamsEx(vehicleid, 0, 0, ..)"
instead of 0, use VEHICLE_PARAMS_OFF and for 1 use VEHICLE_PARAMS_ON.