Garry's Mod Wiki

Revision Difference

Entity:SetAnimation#518363

<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 &lt;page&gt;PLAYER&lt;/page&gt;.</arg> <arg name="playerAnim" type="number">Player animation, see <page>PLAYER</page>.</arg> </args> </function>