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
Category: controls (99)
- ak47
- attack
- attack2
- aug
- autobuy
- awp
- back
- bind
- bot
- buy
- buyammo1
- buyammo2
- buyequip
- chooseteam
- close
- console
- deagle
- defuser
- disconnect
- drop
- elite
- elites
- exit
- famas
- flare
- flash
- flashlight
- fn57
- forward
- g3sg1
- galil
- glock
- hegren
- invnext
- invprev
- kill
- lastinv
- left
- lua
- luareset
- m249
- m3
- m4a1
- mac10
- menuselect
- mp5
- nightvision
- nvgs
- p228
- p90
- quit
- radio1
- radio2
- radio3
- rebuy
- reload
- right
- say
- sayteam
- scout
- screenshot
- serveraction1
- serveraction2
- serveraction3
- serverinfo
- SG550
- sg552
- sgren
- shield
- showscores
- slot0
- slot1
- slot10
- slot2
- slot3
- slot4
- slot5
- slot6
- slot7
- slot8
- slot9
- snapshot
- specmode
- specplayer
- speed
- spray
- team
- tmp
- ump45
- unbindall
- use
- usp
- vest
- vesthelm
- vote
- votemap
- votemenu
- weapon
- xm1014
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.