Garry's Mod Wiki

Tool:Allowed

boolean Tool:Allowed()

Description

Checks whether the tool is allowed on the server. This will always return true clientside and will not be affected by SANDBOX:CanTool.

This function uses TOOL.AllowedCVar which is a ConVar object pointing to **toolmode_allow_*toolname*** convar.

Returns

1 boolean
Returns true if the tool is allowed.

Page Links


Special Pages


Wikis

?

Render Time: 30ms

DB GetPage 3
Generate Html 5
SaveChanges (1) 8
Render Body 0
Render Sidebar 12