Garry's Mod Wiki

Garry's Mod Wiki

  Entity:Weapon_SetActivity( number act, number duration )

Description

Sets the activity of the entity's active weapon.

This does nothing on the client.
Only works for CBaseCombatCharacter entities, which includes players and NPCs.

Arguments

1 number act
Activity number. See ACT enum.
2 number duration
How long the animation should take in seconds.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...