cvars.GetConVarCallbacks

From Garry's Mod
Jump to: navigation, search
 cvars.GetConVarCallbacks( )

Contents

Description

Returns a table of the given ConVars callbacks.

Arguments

string name

The name of the ConVar.

Arguments

boolean createIfNotFound=false

Whether or not to create the internal callback table for given ConVar if there isn't one yet.

This argument is internal and should not be used.

Returns

table

A table of the convar's callbacks, or nil if the convar doesn't exist.
Personal tools
Navigation