From Garry's Mod
This hook is used to calculate animations for a player.
|WARNING||This hook must return the same values at the same time on both, client and server. On client for players to see the animations, on server for hit detection to work properly.|
The player to apply the animation.
The velocity of the player.
ACT_ Enums for the activity the player should use. A nil return will be treated as ACT_INVALID.
Sequence for the player to use. This takes precedence over the activity (the activity is still used for layering). Return -1 or nil to let the activity determine the sequence.