Skip to content

convar_t

Getters

get_name

convar:get_name(): string


get_bool

convar:get_bool(): boolean


get_int

convar:get_int(): number


get_float

convar:get_float(): number


get_string

convar:get_string(): string


Setters

set_bool

convar:set_bool(value: boolean)

Name Type Description
value boolean New boolean value

set_int

convar:set_int(value: number)

Name Type Description
value number New int value

set_float

convar:set_float(value: number)

Name Type Description
value number New float value

set_string

convar:set_string(value: string)

Name Type Description
value string New string value