Commands/Lua

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

CS2D Command CS2D Console Commands

CS2D Command mp_roundtime

Categories

Parameters

  • time (1-100): time for a round in minutes (100=infinite)

Info

Control how long a round lasts (in minutes). This setting is only relevant for the "Standard" (0) and "Zombies!" (4) game modes. All other game modes have infinite round times and are not affected by this setting in any way.

You can use the value 100 for an infinite round time in the standard game mode. This only makes sense when using Lua scripts for respawning. Otherwise players will have no chance to respawn after their death.

Lua Hook Lua Hooks

Lua Command Lua Commands