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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command sv_restart



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


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