Garry's Mod Wiki


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


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.


1 Entity vm
This is the view model entity before it is drawn.
2 Weapon weapon
This is the weapon that is from the view model.
3 Player ply
The the owner of the view model.

Page Links

Special Pages



Render Time: 46ms

DB GetPage 4
Generate Html 10
SaveChanges (1) 14
Render Body 0
Render Sidebar 16