source-2-wiki

Unofficial Source 2 Wiki

View on GitHub

GlobalSys

Methods

CommandLineCheck

table CommandLineCheck(string)
CommandLineCheck(name) : returns true if the command line param was used, otherwise false.

CommandLineStr

table CommandLineStr(string, string)
CommandLineStr(name) : returns the command line param as a string.

CommandLineFloat

table CommandLineFloat(string, float)
CommandLineFloat(name) : returns the command line param as a float.

CommandLineInt

table CommandLineInt(string, int)
CommandLineInt(name) : returns the command line param as an int.