Revision Difference
TOOL:Holster#511912
<function name="Holster" parent="TOOL" type="hook">⤶
<ishook>yes</ishook>⤶
<description>Called when <page>WEAPON:Holster</page> of the toolgun is called, as well as when switching between different toolguns.</description>⤶
<realm>Shared</realm>⤶
<predicted>Yes</predicted>⤶
</function>⤶
⤶
<example>⤶
<description>Clears any objects set by <page>Tool:SetObject</page>.</description>⤶
<code>⤶
function TOOL:Holster()⤶
⤶
self:ClearObjects()⤶
⤶
end⤶
</code>⤶
⤶
</example>