Commands/Lua

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

CS2D Command CS2D Console Commands

CS2D Command endround

Categories

Parameters

  • mode (0-2): end round mode

Info

Ends the round. There are different modes to end the round:

0 - Draw
1 - Terrorists Win (teamscore +1 for Ts)
2 - Counter-Terrorists Win (teamscore +1 for CTs)

The restart doesn't happen instantly but with a delay of 5 seconds.

Lua Hook Lua Hooks

Lua Command Lua Commands