GM:PreDrawPlayerHands

From Garry's Mod
Jump to: navigation, search
 GM:PreDrawPlayerHands( )

Contents

Description

Called before the player hands are drawn.

Arguments

Entity hands

This is the gmod_hands entity before it is drawn.

Arguments

Entity vm

This is the view model entity before it is drawn.

Arguments

Player ply

The the owner of the view model.

Arguments

Weapon weapon

This is the weapon that is from the view model.

Returns

boolean

Return true to prevent the viewmodel hands from rendering
Personal tools
Navigation