Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command 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 sv_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