Player/DoAttackEvent

From Garry's Mod
Jump to: navigation, search
 Player:DoAttackEvent( )

Description

Starts the player's attack animation. The attack animation is determined by the weapon's HoldType.

Similar to other animation event functions, calls GM:DoAnimationEvent with PLAYERANIMEVENT_ATTACK_PRIMARY as the event and no extra data.

Personal tools
Navigation