Garry's Mod Wiki


  WEAPON:PostDrawViewModel( Entity vm, Weapon weapon, Player ply )


Called after the view model has been drawn while the weapon in use. This hook is called from the default implementation of GM:PostDrawViewModel, and as such, will not occur if it has been overridden.

WEAPON:ViewModelDrawn is an alternative hook which is always called before GM:PostDrawViewModel.


1 Entity vm
This is the view model entity after it is drawn
2 Weapon weapon
This is the weapon that is from the view model (same as self)
3 Player ply
The owner of the view model