ConVar
An object returned by CreateConVar, CreateClientConVar (which uses CreateConVar internally), and GetConVar. It represents a console variable. See this page for more information.
Methods
ConVar:Revert()
Reverts ConVar to its default value
ConVar:SetBool( boolean value )
Sets a ConVar's value to 1 or 0 based on the input boolean. This can only be ran on ConVars created from within Lua.
ConVar:SetFloat( number value )
Sets a ConVar's value to the input number.
This can only be ran on ConVars created from within Lua.