GetConVarNumber

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

Description

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

Store the ConVar object retrieved with GetConVar and call ConVar:GetInt or ConVar:GetFloat on it.
Gets the numeric value ConVar with the specified name.

Arguments

string name

Name of the ConVar to get.

Returns

number

The ConVar's value.
Personal tools
Navigation