Garry's Mod Wiki

WEAPON:Think

WEAPON:Think()
This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.

Description

Called when the swep thinks.

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

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.
This hook will be called before Player movement is processed on the client, and after on the server.
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

Page Links


Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 10