Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

Lua Hook Lua Hooks

Category: all (73)

Lua Hook flashlight

Categories

Parameters

  • id: player id
  • state: new flash light state (1=on, 0=off)

Info

When a player toggles their flashlight on or off.

Return Values

none - related action(s) [if there are any] performed by CS2D cannot be altered/omitted

Lua Command Lua Commands