Traffic light states: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Gamesnert (talk | contribs)
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…'
 
Gamesnert (talk | contribs)
No edit summary
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
State 1
State 2
State 3
State 4
State 5
State 6
State 7
State 8
State 9