GetConVar

From Garry's Mod
Jump to: navigation, search
 GetConVar( )

Description

Gets the ConVar with the specified name.

NOTE

This function uses GetConVar_Internal internally, but caches the result in Lua for quicker lookups.

Arguments

string name

Name of the ConVar to get

Returns

ConVar

The ConVar object, or nil if no such ConVar was found.
Personal tools
Navigation