Commands/Lua

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

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command sv_map

Categories

Parameters

  • map (text): name of a map

Info

Changes the map on the server. map must be the name of an existing map-file inside the "maps"-folder WITHOUT the ".map"-extension.

Note: Same as map, changemap and changelevel!

Note: Changing the map will also restart the server. Connected clients will try to automatically reconnect.

Lua Hook Lua Hooks

Lua Command Lua Commands