- Documentation
- Shared functions
- getTrafficLightState
Function
getTrafficLightState
Returns the traffic light state stored with setTrafficLightState (0 by default).
Syntax
int getTrafficLightState()Returns
State 0-9.
Example
outputDebugString("Swiatla: " .. getTrafficLightState())