Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:

Switches lighting mode for all streetlamps.

Can only be used with map-placed lamps; has no effect on editor-placed ones.

Syntax

Syntax:switchAllLights onoff
Parameters:
  • onoff: String - Can be: "ON", "OFF", or "AUTO" (on during the night, off during the day - default).
Return Value:Nothing

Examples

Examples:
switchAllLights "OFF"

Additional Information

See also: lightIsOn, switchLight
Multiplayer:
Problems:

Notes