Commands/Lua

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

CS2D Command CS2D Console Commands

Category: settings (164)

CS2D Command mp_luaserver

Categories

Parameters

  • file (text): filename of a Lua script in sys/lua (server.lua by default)

Info

Name of the Lua script you want to load with your server. Use an empty string if you do not want to use Lua scripts.

Lua Hook Lua Hooks

Lua Command Lua Commands