Garry's Mod Wiki

GetConVarNumber

  number GetConVarNumber( string name )

Description

We advise against using this. It may be changed or removed in a future update. 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

1 string name
Name of the ConVar to get.

Returns

1 number
The ConVar's value.