GM:PreDrawViewModel
Description
Called before the view model has been drawn. This hook by default also calls this on weapons, so you can use WEAPON:PreDrawViewModel.
You can use GM:PreDrawEffects as a "PostDrawViewModel" hook as it is called just after the view model(s) are drawn.
This is a rendering hook which provides a 3d rendering context.
Arguments
1 Entity vm
This is the view model entity before it is drawn. On server-side, this entity is the predicted view model.
Returns
1 boolean
Return true to prevent the default view model rendering. This also affects GM:PostDrawViewModel.