Garry's Mod Wiki

Garry's Mod Wiki

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

Description

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.

Arguments

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...