UEVR_IConsoleVariable

IConsoleVariable is a class representing a console variable.

Inherits from IConsoleObject.

Functions

var:set(value: any)

Sets the value of the console variable.

value can be a number or a string.

var:set_float(value: number)

var:set_int(value: number)

var:set_ex(value: any, flags: number)

var:get_int()

Returns the value of the console variable as an integer.

var:get_float()

Returns the value of the console variable as a float.