Garry's Mod Wiki

Revision Difference

GM:UpdateAnimation#511204

<function name="UpdateAnimation" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Animation updates (pose params etc) should be done here.</description>⤶ <realm>Shared</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="ply" type="Player">The player to update the animation info for.</arg>⤶ <arg name="velocity" type="Vector">The player&#x27;s velocity.</arg>⤶ <arg name="maxSeqGroundSpeed" type="number">Speed of the animation - used for playback rate scaling.</arg>⤶ </args>⤶ </function>⤶ ⤶