Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command mp_idletime

Categories

Parameters

  • time (10-3600): allowed idle time in seconds before the game performs an action

Info

Select how long players are allowed to be idle (no movement etc.). After this time the game will perform an action depending on mp_idleaction!
mp_idlekick has to be 1 to activate this function!

Lua Hook Lua Hooks

Lua Command Lua Commands