Garry's Mod Wiki

GetConVar

GetConVar

  ConVar GetConVar( string name )

Description

Gets the ConVar with the specified name.

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

Arguments

1 string name
Name of the ConVar to get

Returns

1 ConVar
The ConVar object, or nil if no such ConVar was found.

Special Pages


Wikis

?

Render Time: 30ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 17
Render Body 0
Render Sidebar 5