Garry's Mod Wiki

Garry's Mod Wiki

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

Description

Attempts to grab a clientside tool ConVar's value as a number.

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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...