Garry's Mod Wiki

GetConVarString

  string GetConVarString( 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:GetString on it.

Gets the string value ConVar with the specified name.

Arguments

1 string name
Name of the ConVar to get.

Returns

1 string
The ConVar's value.