Garry's Mod Wiki


  Player:AddVCDSequenceToGestureSlot( number slot, number sequenceId, number cycle, boolean autokill = false )


Plays a sequence directly from a sequence number, similar to Player:AnimRestartGesture. This function has the advantage to play sequences that haven't been bound to an existing Enums/ACT


1 number slot
Gesture slot using Enums/GESTURE_SLOT
2 number sequenceId
The sequence ID to play, can be retrieved with Entity:LookupSequence.
3 number cycle
The cycle to start the animation at, ranges from 0 to 1.
4 boolean autokill = false
If the animation should not loop. true = stops the animation, false = the animation keeps playing.