WEAPON:PostDrawViewModel

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

Contents

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

Entity vm

This is the view model entity after it is drawn

Arguments

Weapon weapon

This is the weapon that is from the view model (same as self)

Arguments

Player ply

The the owner of the view model
Personal tools
Navigation