Global/GetConVar

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 13: Line 13:
 
{{Ret
 
{{Ret
 
|type=ConVar
 
|type=ConVar
|desc=The {{Type|ConVar}}object, or nil if no such {{Type|ConVar}} was found.
+
|desc=The {{Type|ConVar}} object, or nil if no such {{Type|ConVar}} was found.
 
}}
 
}}

Revision as of 15:55, 2 December 2019

 GetConVar( )

Description

Gets the ConVar with the specified name. This function caches the ConVar object internally.

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