Cvar

csgo.cvar

Convar data type. See cvar:find_var

Functions

get_int

returns the convar value as an integer

get_int( )

get_float

returns the convar value as a float

get_float( )

set_int

sets the convar value as an integer

set_int( value )

Parameter

Data type

Description

value

integer

value to set the convar to

set_float

sets the convar value as a float

set_float( value )

Parameter

Data type

Description

value

float

value to set the convar to

set_string

sets the convar value as a string

set_string( value )

Parameter

Data type

Description

value

string

value to set the convar to

set_color

sets the convar value as a csgo.color

set_float( value )

Parameter

Data type

Description

value

value to set the convar to

unlock

allows use of sv_cheat protected convars

unlock( )

Last updated