Commands/Lua

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

CS2D Command CS2D Console Commands

CS2D Command cmsg

Categories

Parameters

  • message (text): the message you want to send
  • [player] (0-32)(optional): id of a player or 0 for all players

Info

CMSG is short for console message. It displays a console message in the console of a certain player or in the console of all players.

Omit the player parameter or insert 0 for it if you want to send the message to everyone.

Lua Hook Lua Hooks

Lua Command Lua Commands