World::trafficLights.locked: Difference between revisions

From RAGE Multiplayer Wiki
m (Okay I stop updating this one.)
No edit summary
 
Line 1: Line 1:
'''Property''': Locks the traffic lights in their current position.
This property locks the traffic lights in their current position.
 
==Example==
==Example==
{{ServerSide}}
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
mp.world.trafficLights.locked = true // Lock the position
mp.world.trafficLights.locked = true // LOCK THE POSITION
mp.world.trafficLights.locked = false // Unlock the position
mp.world.trafficLights.locked = false // UNLOCK THE POSITION
</syntaxhighlight>
</syntaxhighlight>
==See Also==
{{World_definition}}

Latest revision as of 16:06, 29 January 2018

This property locks the traffic lights in their current position.

Example

mp.world.trafficLights.locked = true // LOCK THE POSITION
mp.world.trafficLights.locked = false // UNLOCK THE POSITION

See Also