Commands/Lua

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

CS2D Command CS2D Console Commands

Lua Hook Lua Hooks

Category: all (69)

Lua Hook radio

Categories

Parameters

  • id: player id
  • message: radio message type id

Info

When a player sends a radio message.

Attention: This hook is not triggered for radio messages which are sent automatically by the game (like "Fire in the hole" messages which are sent automatically when throwing grenades)

Return Values

  • 0: proceed normally
  • 1: don't show message

Lua Command Lua Commands