Garry's Mod Wiki

Tool:GetClientNumber

Tool:GetClientNumber

  number Tool:GetClientNumber( string name, number default = 0 )

Description

Attempts to grab a clientside tool ConVar.

Arguments

1 string name
Name of the convar to retrieve. The function will automatically add the "mytoolfilename_" part to it.
2 number default = 0
The default value to return in case the lookup fails.

Returns

1 number
The value of the requested ConVar.

Special Pages


Wikis

?

Render Time: 22ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 7