Commands/Lua

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

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command mp_autogamemode

Categories

Parameters

  • autogamemode (0-1): automatically switch gamemode?

Info

When enabled (1) this function will automatically switch to the best game-mode when loading a map.

It simply checks the map prefix to find the best game-mode. "as_", "cs_" and "de_" will make it switch to the standard mode for example.

Game modes are:
CS2D Game Modes

Lua Hook Lua Hooks

Lua Command Lua Commands