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
mp_traceCategories
Parameters
- accuracy (0-5): level of precision, 0=disabled
Info
The server traces all player movements when mp_trace is enabled. It will reset their positions when they move too fast or through walls (by using cheats/hacks).
Warning: mp_trace can lead to a bad gaming experience for players with high pings or high packet loss when activated!
Lua Hooks
Lua Commands
Categories
Parameters
- accuracy (0-5): level of precision, 0=disabled
Info
The server traces all player movements when mp_trace is enabled. It will reset their positions when they move too fast or through walls (by using cheats/hacks).
Warning: mp_trace can lead to a bad gaming experience for players with high pings or high packet loss when activated!
Warning: mp_trace can lead to a bad gaming experience for players with high pings or high packet loss when activated!