Turn Lights On/Off? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Turn Lights On/Off? (
/showthread.php?tid=186529)
Turn Lights On/Off? -
TheMarGTA - 29.10.2010
Hi,
In MTA there is an option that allows you to turn your car lights on/off. Is it possible to make this into a command in SAMP? so /lon = lights on /loff = lights off, etc.
Bonus Question: Is it possible to have it so only a specific set of lights are on? As in, only the right side lights stay on, whilst the others are off? (replicating the same as in a damaged light?)
Thanks!
Re: Turn Lights On/Off? -
Kyle - 29.10.2010
Yes, Look for pghpunkid's cop flashing light filterscript, He uses a function to turn them off or on. Im not sure what it is. But if you look in there it will tell you.
Re: Turn Lights On/Off? -
WillyP - 29.10.2010
clicky!
Re: Turn Lights On/Off? -
TheMarGTA - 29.10.2010
I take it there's no way to make it work during the day, eh?
Re: Turn Lights On/Off? -
Kyle - 29.10.2010
Nope there isnt.