Weapon.GetActivity
From GMod Wiki
Function | |
Syntax | Weapon:GetActivity( ) |
Description: | |
Returns the sequence enumeration number that the weapon is playing. | |
Returns: | Enum |
In Object: | Weapon |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Weapon.GetActivity]Weapon.GetActivity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Must be used on a view model.
- Returns 0 if the weapon doesn't have active sequence.