⚙️ConVar
Table to work with CConVars
.
CConVars
.ConVars are game variable that can be used to retrieve or change some game engine settings.
Name
Type
Description
name
string
Returns the found ConVar.
Example
GetString(convar: CConVar
): string
CConVar
): string
Name
Type
Description
convar
Returns string value of the Convar
GetInt(convar: CConVar
): integer
CConVar
): integer
Name
Type
Description
convar
Returns int value of the Convar
GetFloat(convar: CConVar
): number
CConVar
): number
Name
Type
Description
convar
Returns float value of the Convar
GetBool(convar: CConVar
): boolean
CConVar
): boolean
Name
Type
Description
convar
Returns boolean value of the Convar
Name
Type
Description
convar
value
string
Assigns new string value to the ConVar
Name
Type
Description
convar
value
integer
Assigns new int value to the ConVar
Name
Type
Description
convar
value
number
Assigns new float value to the ConVar
Name
Type
Description
convar
value
boolean
Assigns new boolean value to the ConVar
Last updated