Revision Difference
Tool:Allowed#511894
<function name="Allowed" parent="Tool" type="classfunc">⤶
<description>⤶
Checks whether the tool is allowed on the server. This will always return true clientside and will not be affected by <page>SANDBOX:CanTool</page>.⤶
⤶
This function uses **TOOL.AllowedCVar** which is a <page>ConVar</page> object pointing to **toolmode_allow_`*toolname***` convar.⤶
</description>⤶
<realm>Shared</realm>⤶
<file line="90">gamemodes/sandbox/entities/weapons/gmod_tool/stool.lua</file>⤶
<rets>⤶
<ret name="" type="boolean">Returns true if the tool is allowed.</ret>⤶
</rets>⤶
</function>⤶
⤶