Garry's Mod Wiki

Player:DoAttackEvent

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.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

Session 0
DB GetPage 4
Generate Html 2
SaveChanges 10
Render Body 0
Render Sidebar 11