Garry's Mod Wiki

Revision Difference

Player:DoAttackEvent#512616

<function name="DoAttackEvent" parent="Player" type="classfunc"> <description> Starts the player's attack animation. The attack animation is determined by the weapon's HoldType. Similar to other animation event functions, calls <page>GM:DoAnimationEvent</page> with [PLAYERANIMEVENT_ATTACK_PRIMARY](/gmod/Enums/PLAYERANIMEVENT_) as the event and no extra data. </description> <realm>Shared</realm> </function>