Garry's Mod Wiki

Entity:Weapon_SetActivity

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 Enums/ACT.
2 number duration
How long the animation should take in seconds.

Page Links


Special Pages


Wikis

?

Render Time: 65ms

DB GetPage 29
Generate Html 5
SaveChanges (1) 16
Render Body 0
Render Sidebar 12