Garry's Mod Wiki

Revision Difference

TOOL:Reload#511907

<function name="Reload" parent="TOOL" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Called when the user presses the reload key with the tool out.</description>⤶ <realm>Shared</realm>⤶ <predicted>Yes</predicted>⤶ <args>⤶ <arg name="tr" type="table">A trace from users eyes to wherever he aims at. See &lt;page&gt;TraceResult&lt;/page&gt;</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Return true to make the tool gun beam and play fire animations, false otherwise</ret>⤶ </rets>⤶ </function>⤶ ⤶