Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 36ms

DB GetPage 4
Generate Html 8
SaveChanges (1) 9
Render Body 0
Render Sidebar 12