Commands/Lua

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

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command sv_restart

Categories

Parameters

  • delay (0-10): restart delay in seconds

Info

Restart the round/game in X seconds. This also resets the player stats (score/kills/deaths) and the team win scores. Moreover it resets the "time on map"-counter for mp_timelimit.

Same as restart, sv_restartround and restartround!

Note: This command will trigger the endround- and startround-hooks with mode 5

Lua Hook Lua Hooks

Lua Command Lua Commands