World::trafficLights.locked: Difference between revisions

From RAGE Multiplayer Wiki
mNo edit summary
m (Okay I stop updating this one.)
Line 1: Line 1:
'''Property''': Locks the traffic lights in their current position.
'''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>

Revision as of 21:47, 19 January 2018

Property: Locks the traffic lights in their current position.

Example

Server-Side

mp.world.trafficLights.locked = true // Lock the position
mp.world.trafficLights.locked = false // Unlock the position