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

CS2D Command CS2D Console Commands

Category: all (370)

CS2D Command msg



  • message (text): the message you want to send


Send a message to everyone on your server.
Same as sv_msg!

Add an @C at the end of your text to display the message at the center of the screen.
For example: "Centered [email protected]"

You can also use color codes (use a colorpicker to get the values) at the beginning and in-line! Colors are encoded as RGB values.
Format: ©RRRGGGBBB (with each part RRR, GGG and BB ranging from 000 to 255)
For example: "©255000000This is a red text" or "The following text is ©000000255blue"

Note: Each component, R, G and B always has to have 3 digits. Add leading zeros if necessary!

Lua Hook Lua Hooks

Lua Command Lua Commands