Commands/Lua
Reference for console commands, Lua hooks and Lua commands in CS2D.
- Console Commands are entered in console, executed with key-binds, cfg-files or with Lua parse
- Lua Hooks execute Lua when events occur - some have a return value which can change the game behavior
- Lua Commands are used to retrieve game data or to perform actions in Lua scripts
CS2D Console Commands
showscoresCategories
Parameters
noneInfo
Displays the scoreboard. It shows players/spectators with name, team, score, deaths and network latency. In front of each player you can also see the internal player ID. You can hover a player in the scoreboard with your mouse to get additional info like the U.S.G.N. id (displayed at the bottom of the scoreboard).
Note: The server player itself (in case of a listen server) and bots always have 0 latency. Therefore the latency column will just show "Server" or "Bot" for them.
Lua Hooks
Lua Commands
Categories
Parameters
none
Info
Displays the scoreboard. It shows players/spectators with name, team, score, deaths and network latency. In front of each player you can also see the internal player ID. You can hover a player in the scoreboard with your mouse to get additional info like the U.S.G.N. id (displayed at the bottom of the scoreboard).
Note: The server player itself (in case of a listen server) and bots always have 0 latency. Therefore the latency column will just show "Server" or "Bot" for them.