Garry's Mod Wiki

Entity:SetAnimation

  Entity:SetAnimation( number playerAnim )

Description

Sets a player's third-person animation. Mainly used by Weapons to start the player's weapon attack and reload animations.

Arguments

1 number playerAnim
Player animation, see Enums/PLAYER.