16.08.2011, 07:39
Hello, I found a tutorial one time, and Now I cant Find it, SO I'm WOndering if anyone could show me how to make the 0.3c Controls Useable in my Gamemode?
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid,engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid,engine, lights, alarm, doors, bonnet, boot, objective); /* what you want to turn off/on set to 1 for on and to 0 for off
So if you want to turn lights off you would do */
SetVehicleParamsEx(vehicleid,engine, 0, alarm, doors, bonnet, boot, objective);//instead of lights add 0
//and to turn them on use
SetVehicleParamsEx(vehicleid,engine, 1, alarm, doors, bonnet, boot, objective);