Author Topic: Traffic Lights Script [V2]  (Read 12598 times)

Heck, I could just make a traffic light using EVENTS! Ever heard of relays...?
So you didn't read the loving description.

Good job
/sarcasm

Ontopic: Epic win.
Ever heard of Reading the whole post?
Dammit, you beat me.

lovey screenshot cucu. :)

I've wanted a mod like this for some time now I was just too lazy to request anyways looks cool you have my DL


Please asplain, I'd love to work some more on this!
Name variables more properly. Learn how objects works. Add more comments to teach less experienced programmers.

Maybe you not work. You goes to  fail bin.
I never laugh on here, but I lol'd at this.

function serverCmdToggleTrafficLights(%cl)
{
   if(%cl.isAdmin)
      $stopLight = !$stopLight;
}
Oh, thanks. Didn't know you could do that.

I remember Wedge made city lights. One of them was a Traffic Light light that was red, turned green, then yellow and then red like a normal traffic light.

It'd be easier to make a light instead of having to make a script that involves changing the lights of multiple named bricks.
Timing would be funky.

Oh, thanks. Didn't know you could do that.
I forgot to include the call to stopLightTick(), do whatever you need to do.

V2 is here
just some minor changes for less console spam mostly

Thanks to Kalph :D


O MY GOSH! PERFECT ADD-ON TO A CITY RPG!!!!!!!!! you get a cookie :cookie: :cookie: :cookie: :cookie:

O MY GOSH! PERFECT ADD-ON TO A CITY RPG!!!!!!!!! you get a cookie :cookie: :cookie: :cookie: :cookie:
TROLL!

Anyways why does it say I need a special brick?

O MY GOSH! PERFECT ADD-ON TO A CITY RPG!!!!!!!!! you get a cookie :cookie: :cookie: :cookie: :cookie:
City RP's are abused and outdated >.< or so some ppl say

On topic: Good job, ya got my DL