06.11.2016, 15:27
Hello, I'm trying to add this function to my gamemode:
But every time I compile it it gives me invalid function or declaration error. There's nothing wrong with it, is there?
Код:
SetVehicleEngineState(vehicleid, state) { new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicleid, state, lights, alarm, doors, bonnet, boot, objective); }