Garry's Mod Wiki

Log in to edit

Entity:SetAnimation

<function name="SetAnimation" parent="Entity" type="classfunc"> <description>Sets a player's third-person animation. Mainly used by <page>Weapon</page>s to start the player's weapon attack and reload animations.</description> <realm>Shared</realm> <args> <arg name="playerAnim" type="number">Player animation, see <page>Enums/PLAYER</page>.</arg> </args> </function>