ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. areTrafficLightsLocked

Function

areTrafficLightsLocked

Server and clientWorldIdentical to MTA:SA

Returns the value stored with setTrafficLightsLocked (false by default).

Syntax

bool areTrafficLightsLocked()

Returns

The stored value.

Example

outputDebugString(tostring(areTrafficLightsLocked()))

See also