Garry's Mod Wiki

Garry's Mod Wiki

  boolean Tool:Allowed()

Description

Returns whether the tool is allowed to be used or not. This function ignores the SANDBOX:CanTool hook.

By default this will always return true clientside and uses TOOL.AllowedCVarwhich is a ConVar object pointing to toolmode_allow_*toolname* convar on the server.

Returns

1 boolean
Returns true if the tool is allowed.

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...