26.07.2011, 17:58
You want to set the engine? make the /engine command then...
When you make the engine into true in SetVehicleParamsEx it turns it on, false is off.
pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective;
new playervehicle = GetPlayerVehicleId(playerid);
GetVehicleParamsEx(playervehicle, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(playervehicle, true, lights, false, doors, bonnet, boot, objective);