Player.DoAttackEvent
From GMod Wiki
Function | |
Syntax | Player.DoAttackEvent( ) |
Description: | |
Sends an attack animation event to a player. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.DoAttackEvent]Player.DoAttackEvent [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This function only gets to play the animation in the third-person player model. See Weapon.SendWeaponAnim to set the animation of the first-person weapon model.