World::trafficLights.locked: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Locks the traffic lights in their current position. ===Example=== <syntaxhighlight lang="javascript"> mp.world.trafficLights.locked = true // Lock the position mp.world.traffi...")
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Locks the traffic lights in their current position.
This property locks the traffic lights in their current position.
===Example===
 
==Example==
<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