HolyLib Wiki

cvar

cvar

This library adds a few ConVar related functions.

Methods

cvar.Find( string convarName )
Searches for any given convar name without restrictions.
table cvar.GetAll( )
Returns a table containing all registered ConVars.
boolean cvar.SetValue( string convarName, string value )
Sets the value of the given ConVar even if it's blocked behind cheats.
cvar.Unregister( string convarName )
Unregisters the given convar / concommand.