
Help
Command Reference
You can enter CS2D script commands in the console, save them in cfg-files or bind them to keys. CS2D script commands are no Lua commands but they can still be executed in Lua scripts by using the Lua parse-function!
Commands
Category: server (179)
mp_idleaction
Categories
settings, server
Parameters
- action (0-4): 0 kick, 1 make spec., 2 slap, 3 kill, 4 show message
Info
Peform this action if mp_idlekick is 1 and if a player was idle too long (mp_idletime).
Possible actions are:
Possible actions are:
- 0 - kick player (default)
- 1 - switch the team of the player to spectator
- 2 - slap the player
- 3 - kill the player
- 4 - show a message that the player is idle






