Garry's Mod Wiki

Garry's Mod Wiki

  number Tool:GetClientBool( string name, boolean default = false )

Description

Attempts to grab a clientside tool ConVar value as a boolean.

Arguments

1 string name
Name of the ConVar to retrieve. The function will automatically add the mytoolfilename_ part to it.
2 boolean default = false
The default value to return in case the lookup fails.

Returns

1 number
The value of the requested ConVar. It will be true if the value if the convar is not 0, just like ConVar:GetBool

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 four times a day. Edits and history are not available.

Last Parsed: Loading...