Commands/Lua
Reference for console commands, Lua hooks and Lua commands in CS2D.
- Console Commands are entered in console, executed with key-binds, cfg-files or with Lua parse
- Lua Hooks execute Lua when events occur - some have a return value which can change the game behavior
- Lua Commands are used to retrieve game data or to perform actions in Lua scripts
CS2D Console Commands
sv_lanCategories
Parameters
- lan (0/1): use lan mode?
Info
Set this setting to 1 if you want to play in a LAN only.
Your server will not be added to the U.S.G.N. serverlist if you set sv_lan to 1. Other players on the internet will not see and join it if they don't have your server ip.
Always set sv_lan to 0 if you want other players to join online! Otherwise they will not even see your server in the serverlist!
Lua Hooks
Lua Commands
Categories
Parameters
- lan (0/1): use lan mode?
Info
Set this setting to 1 if you want to play in a LAN only.
Your server will not be added to the U.S.G.N. serverlist if you set sv_lan to 1. Other players on the internet will not see and join it if they don't have your server ip.
Always set sv_lan to 0 if you want other players to join online! Otherwise they will not even see your server in the serverlist!
Your server will not be added to the U.S.G.N. serverlist if you set sv_lan to 1. Other players on the internet will not see and join it if they don't have your server ip.
Always set sv_lan to 0 if you want other players to join online! Otherwise they will not even see your server in the serverlist!