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

Lua Command freehook

Categories

Parameters

  • "hook"
  • "func"

Info

Removes a function from a hook. Nothing will happen if the function has not been attached to the hook with addhook before.

Note: Like in addhook the "func" parameter must be a string containing the name of the function!