Garry's Mod Wiki

Tool:Allowed

Tool:Allowed

  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.

Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 4
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 7