Commands/Lua

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

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command restartround

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 sv_restart, restart and sv_restartround!

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

Lua Hook Lua Hooks

Lua Command Lua Commands