From Garry's Mod
Revision as of 12:14, 5 September 2017 by Code gs
- SWEP:ViewModelDrawn is called immediately after the viewmodel has been drawn, and is a hook directly from the engine to the weapon. Next, GM:PostDrawViewModel is called which then calls SWEP:PostDrawViewModel if the gamemode implements it as such. ViewModelDrawn is a more reliable hook since it doesn't rely on the gamemode, but it is called before so any changes made in PostDrawViewModel will take priority.
- --code_gs 12:12, 5 September 2017 (UTC)