Tool/GetClientNumber

From Garry's Mod
Jump to: navigation, search
 Tool:GetClientNumber( )

Contents

Description

Attempts to grab a clientside tool ConVar.

Arguments

string name

Name of the convar to retrieve. The function will automatically add the "mytoolfilename_" part to it.

Arguments

number default=0

The default value to return in case the lookup fails.

Returns

number

The value of the requested ConVar.
Personal tools
Navigation