06.11.2016, 15:38
I changed state to vstate, because state interferes with something else.
Код:
SetVehicleEngineState(vehicleid, vstate) { new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicleid, vstate, lights, alarm, doors, bonnet, boot, objective); }