09.01.2012, 17:35
I was wondering, how this is possible
If you press on Engine it turn off, and on the dialog appears "Turn On", if you press Turn On , it turns th engine on and on the dialog appears "Turn Off". Is this possible with bool?
pawn Code:
new engine, lights, alarm, doors, bonnet, boot, objective, veh = GetPlayerVehicleID(playerid);
GetVehicleParamsEx(veh, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(veh, 1, lights, alarm, doors, bonnet, boot, objective);