SA-MP Forums Archive
Question - 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: Question (/showthread.php?tid=483769)



Question - Jhony_Blaze - 27.12.2013

Does anyone know how could I make a traffic light which can sync with my gate ? I am trying to create a light that turns red when I open 1 or multiple gates. Is it possible ? If yes how ?

Thank You!


Re: Question - Hansrutger - 27.12.2013

I think this isn't possible unless you create a nice function that gets the light of the object or something heh'. One way to make it is MAYBE some kind of timer but that would litterally be unsync and very unaccurate, this way you'd most likely be guessing.


Re: Question - rocker3410 - 27.12.2013

It's not possible.


Re: Question - cnoopers - 27.12.2013

In object samp be a particle objects. Find green and red that, must be. Check in timer whats u need.