Skip to main content

client.get_cvar

info

In most cases using the cvar API is preferred over this function.

client.get_cvar

Returns the value of a console variable.

client.get_cvar(cvar_name: string): string

Arguments

NameDescriptionType
cvar_nameName of the convar.string

Returns value: string