Garry's Mod Wiki

Revision Difference

TOOL:Deploy#553175

<function name="Deploy" parent="TOOL" type="hook"> <ishook>yes</ishook>⤶ <description> Called when <page>WEAPON:Deploy</page> of the toolgun is called. This is also called when switching from another tool on the server.</description> <realm>Shared</realm> <predicted>Yes</predicted> <rets> <ret name="" type="boolean">Return true to allow switching away from the toolgun using lastinv command</ret> </rets> </function>