Player Animation

Im trying to make the player do the “Halt” Aimation. I tried this:
concommand.Add(“DoGesture”, function( ply )
ply:RestartGesture( ACT_SIGNAL_HALT )

To see if it worked, It didnt.
I have also Tried

SetAnimation( ACT_SIGNAL_HALT )

But it didnt work either.

How do I make the player do the animation?


Can’t say much cause but I think there is a function called setanimation

There was an update to animations in the recent GMod update:


If you’re not doing SetAnimation shared, that could be the problem.