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 serveraction

Categories

Parameters

  • id: player id
  • action: action key 1,2 or 3

Info

Triggered when a player presses one of the server action keys. Sever actions are mapped to the keys F2, F3 and F4 by default.

Return Values

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

Lua Command Lua Commands