Garry's Mod Wiki

Revision Difference

GM:PreDrawPlayerHands#552894

<function name="PreDrawPlayerHands" parent="GM" type="hook"> <ishook>yes</ishook>⤶ <description>Called before the player hands are drawn.</description> <realm>Client</realm> <predicted>No</predicted>⤶ <args> <arg name="hands" type="Entity">This is the gmod_hands entity before it is drawn.</arg> <arg name="vm" type="Entity">This is the view model entity before it is drawn.</arg> <arg name="ply" type="Player">The the owner of the view model.</arg> <arg name="weapon" type="Weapon">This is the weapon that is from the view model.</arg> </args> <rets> <ret name="" type="boolean">Return true to prevent the viewmodel hands from rendering</ret> </rets> </function>