Scripting - Traffic Lights. - 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: Scripting - Traffic Lights. (
/showthread.php?tid=151016)
Scripting - Traffic Lights. -
Visualbr - 28.05.2010
Is there a command that checks the traffic light color? Like if it is green red, or yellow. Thank you.
Re: Scripting - Traffic Lights. -
Grim_ - 28.05.2010
No.
Re: Scripting - Traffic Lights. -
Visualbr - 28.05.2010
What about trainer? When you use a trainer you can use that cheat that will actually move all the lights to green. And then there is a chaos going around. Maybe there is a way out of here.
Re: Scripting - Traffic Lights. -
Grim_ - 28.05.2010
This is SA:MP (San Andreas Multi Player), not single player of SA. As far as SA:MP scripting functions go, there is no way to detect what color a traffic light is.
Re: Scripting - Traffic Lights. -
(SF)Noobanatior - 28.05.2010
na even if you did manage to do it it would only be on your client and not anyone elses
Re: Scripting - Traffic Lights. -
VinceQc - 28.05.2010
Unfortunaly, no.
Re: Scripting - Traffic Lights. -
Bcklup - 28.05.2010
Maybe on future releases
Re: Scripting - Traffic Lights. -
russo666 - 29.05.2010
Isn't the lights changing in a constant time? I think you can workout something in this way.
Re: Scripting - Traffic Lights. -
Antonio [G-RP] - 29.05.2010
It's determined in the players GTA SA files..