WEAPON/PreDrawViewModel
From Garry's Mod
WEAPON:PreDrawViewModel( )
Contents |
Description
Allows you to modify viewmodel while the weapon in use before it is drawn. This hook only works if you haven't overridden GM:PreDrawViewModel.
Arguments
Entity vm
This is the view model entity before it is drawn.
Arguments
Weapon weapon
This is the weapon that is from the view model.
Arguments
Player ply
The the owner of the view model.