Difference between revisions of "Traffic light states"

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with '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…')
 
Line 1: Line 1:
 
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.
 
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.
 
'''Note:''' States '''0''' and '''8''' are identical. Therefore, state 8 is not being displayed.
 
  
 
{| cellspacing="50"
 
{| cellspacing="50"
Line 85: Line 83:
 
     |-
 
     |-
 
     !  !! [[File:Traffic_amber.png]] !!  
 
     !  !! [[File:Traffic_amber.png]] !!  
 +
    |}
 +
|-
 +
!
 +
    {| border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse;"
 +
    |+ '''State 8'''
 +
    |-
 +
    !  !! [[File:Traffic_green.png]] !!
 +
    |-
 +
    ! [[File:Traffic_amber.png]] !!  !! [[File:Traffic_amber.png]]
 +
    |-
 +
    !  !! [[File:Traffic_green.png]] !!
 +
    |}
 +
!
 +
    {| border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse;"
 +
    |+ '''State 9'''
 +
    |-
 +
    !  !! [[File:Traffic_off.png]] !!
 +
    |-
 +
    ! [[File:Traffic_off.png]] !!  !! [[File:Traffic_off.png]]
 +
    |-
 +
    !  !! [[File:Traffic_off.png]] !!
 
     |}
 
     |}
 
|}
 
|}

Revision as of 21:11, 8 August 2010

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