ConVar
Convar API
ConVars are game variable that can be used to retrieve or change some game engine settings.
Find(): ConVar | nil
ConVar | nil
Returns the found ConVar.
GetString(convar: ConVar
): string
ConVar
): string
Name
Type
Description
convar
ConVar
Returns string value of the Convar
GetInt(convar: ConVar
): integer
ConVar
): integer
Name
Type
Description
convar
ConVar
Returns int value of the Convar
GetFloat(convar: ConVar
): number
ConVar
): number
Name
Type
Description
convar
ConVar
Returns float value of the Convar
SetString(convar: ConVar
, value: string
): void
ConVar
, value: string
): void
Name
Type
Description
convar
ConVar
value
string
Assigns new string value to the ConVar
SetString(convar: ConVar
, value: integer
): void
ConVar
, value: integer
): void
Name
Type
Description
convar
ConVar
value
integer
Assigns new int value to the ConVar
SetString(convar: ConVar
, value: number
): void
ConVar
, value: number
): void
Name
Type
Description
convar
ConVar
value
number
Assigns new float value to the ConVar
Last updated