Car lights
#3

Place this OnGamemodeInit to enable manual control of the engine and lights.
Код:
ManualVehicleEngineAndLights();
Then place this in a command.
Код:
{
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective); 
}
https://sampwiki.blast.hk/wiki/ManualVe...ngineAndLights
https://sampwiki.blast.hk/wiki/GetVehicleParamsEx
https://sampwiki.blast.hk/wiki/SetVehicleParamsEx
Reply


Messages In This Thread
Car lights - by CSLangdale - 15.04.2016, 17:19
Re: Car lights - by BiosMarcel - 15.04.2016, 17:24
Re: Car lights - by WingedFrostWolf - 15.04.2016, 17:38

Forum Jump:


Users browsing this thread: 1 Guest(s)