Weapon.SendWeaponAnim
From GMod Wiki
This page needs to be edited as it contains information that is unclear or incorrect. Improvement can be discussed on the talk page. Find more pages that need work here. Details: None given. |
Function | |
Syntax | Weapon:SendWeaponAnim( Enum Act ) |
Description: | |
Defines the animation for a specific function. | |
Returns: | nil |
In Object: | Weapon |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Weapon.SendWeaponAnim]Weapon.SendWeaponAnim [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- SendWeaponAnim plays the animation ACT_VM_PRIMARYATTACK when the primary fire is done. It causes the weapon model to do the firing animation.
- See Activity for a list of enumerations.