Traffic light states

From Multi Theft Auto: Wiki
Jump to: navigation, search

Here you can see the traffic light states used by setTrafficLightState and getTrafficLightState. The upper light represents the traffic light on the north side, the lower represents the south side, etc etc. If there isn't any traffic light on one or more of the sides, it doesn't affect the others.

State 0
Traffic green.png
Traffic red.png Traffic red.png
Traffic green.png
State 1
Traffic amber.png
Traffic red.png Traffic red.png
Traffic amber.png
State 2
Traffic red.png
Traffic red.png Traffic red.png
Traffic red.png
State 3
Traffic red.png
Traffic green.png Traffic green.png
Traffic red.png
State 4
Traffic red.png
Traffic amber.png Traffic amber.png
Traffic red.png
State 5
Traffic green.png
Traffic green.png Traffic green.png
Traffic green.png
State 6
Traffic amber.png
Traffic amber.png Traffic amber.png
Traffic amber.png
State 7
Traffic amber.png
Traffic green.png Traffic green.png
Traffic amber.png
State 8
Traffic green.png
Traffic amber.png Traffic amber.png
Traffic green.png
State 9
Traffic off.png
Traffic off.png Traffic off.png
Traffic off.png