Command ReferenceYou can enter CS2D script commands in the console, save them in cfg-files or bind them to keys. CS2D script commands are no Lua commands but they can still be executed in Lua scripts by using the Lua parse-function!
Lua ReferenceLua scripting (server-sided) allows server hosters and mappers to modify the game and to add new elements.
Category: player (39)
- id: player id
- state: new flash light state (1=on, 0=off)
on flashlight toggle
none - related action(s) [if there are any] performed by CS2D cannot be altered/omitted