Garry's Mod Wiki

Garry's Mod Wiki

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

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

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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...