Commands/Lua

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

CS2D Command CS2D Console Commands

Lua Hook Lua Hooks

Lua Command Lua Commands

Category: basic (14)

Lua Command sethookstate

Categories

Parameters

  • "hook"
  • enable

Info

Enables(1)/Disables(0) a hook completely. A disabled hook does not execute the attached Lua functions anymore.