Garry's Mod Wiki


GM:PostDrawViewModel( Entity viewmodel, Player player, Weapon weapon )


Called after view model is drawn.

This is a rendering hook which provides a 3d rendering context.
The 3D rendering context in this event is different from the main view. Every render operation will only be accurate with the view model entity.


1 Entity viewmodel
Players view model
2 Player player
The owner of the weapon/view model
3 Weapon weapon
The weapon the player is currently holding

Page Links

Special Pages



Render Time: 99ms

DB GetPage 42
Generate Html 12
SaveChanges (1) 24
Render Body 0
Render Sidebar 19