Commands/Lua

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

CS2D Command CS2D Console Commands

Lua Hook Lua Hooks

Lua Hook join

Categories

Parameters

  • id: player id

Info

When a player finished joining a server and is now in-game. Use this hook to setup things for the player or to display Lua images, messages etc.

Note: This will also be executed for bots.
Note: This hook will be executed after the connect hook.

Return Values

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

Lua Command Lua Commands