WEAPON/Think

From Garry's Mod
Jump to: navigation, search
 WEAPON:Think( )

Description

Called when the swep thinks.

This hook won't be called during the deploy animation and when using Weapon:DefaultReload.

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 Player:GetCurrentCommand.

NOTE

This hook will be called before Player movement is processed on the client, and after on the server.

BUG

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.

Issue Tracker: #2855

Personal tools
Navigation