API PlayerModel SetAnimation

Sets the animation to be played by the Model.

myModel:SetAnimation(animationID, [variationID]);

Arguments

 * animationID : Number - An animation ID
 * variationID (optional): Number - The variation ID in the animation, when a model has more than one animation for an animation ID.

Example
myModel:SetAnimation(60); -- Play the talking animation