Tutorial Request
#4

You want to set the engine? make the /engine command then...

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);
When you make the engine into true in SetVehicleParamsEx it turns it on, false is off.
Reply


Messages In This Thread
Tutorial Request - by seanny - 26.07.2011, 17:18
Re: Tutorial Request - by Dr - 26.07.2011, 17:23
Re: Tutorial Request - by seanny - 26.07.2011, 17:31
Re: Tutorial Request - by Dr - 26.07.2011, 17:58

Forum Jump:


Users browsing this thread: 1 Guest(s)