Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command sv_gm

Categories

Parameters

  • mode (0-X): a number from 0 to X for a game mode (0 = standard)

Info

Select the mode you want to play on your server. E.g. Standard CS2D, deathmatch, team deathmatch, construction...
Same as sv_gamemode!

Available modes:
CS2D Game Modes

Lua Hook Lua Hooks

Lua Command Lua Commands