World::trafficLights.locked: Difference between revisions
m (Okay I stop updating this one.) |
No edit summary |
||
| Line 1: | Line 1: | ||
This property locks the traffic lights in their current position. | |||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
mp.world.trafficLights.locked = true // | mp.world.trafficLights.locked = true // LOCK THE POSITION | ||
mp.world.trafficLights.locked = false // | 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