Garry's Mod Wiki


number Entity:AddGesture( number activity, boolean autokill = true )


Adds a gesture animation to the entity and plays it.

See Entity:AddGestureSequence and Entity:AddLayeredSequence for functions that takes sequences instead of Enums/ACT.

This function only works on BaseAnimatingOverlay entites!


1 number activity
The activity to play as the gesture. See Enums/ACT.
2 boolean autokill = true


1 number
Layer ID of the started gesture, used to manipulate the played gesture by other functions.

Page Links

Special Pages



Render Time: 34ms

Session 0
DB GetPage 3
Generate Html 6
SaveChanges 18
Render Body 0
Render Sidebar 6