Vehicle lights displayed during day hours - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Vehicle lights displayed during day hours (
/showthread.php?tid=428918)
Vehicle lights displayed during day hours -
Deal-or-die - 07.04.2013
Hey there!
I recently got back into pawn.. Again.
Just noticed with my light system.. The lights aren't displaying during the day... I am sure it's possible as I am pretty sure I have seen another server with working lights all hours of the day.
This is what I have at the moment.
pawn Код:
if(Vehicle[vid][vLights] == 1)
{
SetVehicleParam(rcar,VEHICLE_LIGHTS,0);
Any ideas/suggestions or info regarding the to the lighting systems would be greatly appreciated.
Thank you!
Re: Vehicle lights displayed during day hours -
yanir3 - 07.04.2013
Add in OnGameModeInit:
Код:
ManualVehicleEngineAndLights();