SetTrafficLightsLocked

From Multi Theft Auto: Wiki
Revision as of 14:57, 8 August 2010 by Gamesnert (talk | contribs) (Created page with '__NOTOC__ {{Server client function}} Toggles whether you want the traffic lights to be locked. If the lights are locked, it means they won't change unless you do [[setTrafficLigh…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Toggles whether you want the traffic lights to be locked. If the lights are locked, it means they won't change unless you do setTrafficLightState.

Syntax

bool setTrafficLightsLocked ( bool toggle )

Required Arguments

  • toggle: A bool indicating whether you want the traffic lights to change automatically, or not

Returns

Returns true if the successful, false otherwise.

Example

This example doesn't exist

See Also