Revision Difference
WEAPON:Think#546878
<function name="Think" parent="WEAPON" type="hook">
<ishook>yes</ishook>
<description>
Called when the swep thinks.
This hook won't be called during the deploy animation and when using <page>Weapon:DefaultReload</page>.
⤶
<note>Despite being a predicted hook, this hook is called clientside in single player, however it will not be recognized as a predicted hook to <page>Player:GetCurrentCommand</page>.</note>⤶
⤶
<note>Works only in players hands.⤶
Don't work in NPCs hands.</note>⤶
<note>Despite being a predicted hook, this hook is called clientside in single player, however it will not be recognized as a predicted hook to <page>Player:GetCurrentCommand</page>.</note>⤶
<note>This hook will be called before Player movement is processed on the client, and after on the server.</note>
<bug issue="2855">This will not be run during deploy animations after a serverside-only deploy. This usually happens after picking up and dropping an object with +use.</bug>
</description>
<realm>Shared</realm>
<predicted>Yes</predicted>
<hidepredictionwarning>Disable automatic prediction warning</hidepredictionwarning>
</function>