- Documentation
- Server functions
- setTrafficLightsLocked
Function
setTrafficLightsLocked
Stores whether the traffic lights should be locked in their current state (no automatic changes).
Syntax
bool setTrafficLightsLocked(bool value)Arguments
valuebooltrue= locked.
Returns
true on success.
Example
setTrafficLightsLocked(true)
Notes
State for scripts. See setTrafficLightState.