SetPedAnimation

From Multi Theft Auto: Wiki
Revision as of 22:22, 14 April 2008 by Erorr404 (talk | contribs)
Jump to navigation Jump to search

Sets the current animation of a player or ped.

Syntax

bool setPedAnimation ( ped thePed, int animGroup, int animID )

Required Arguments

  • thePed: the player or ped you want to apply an animation to.
  • animGroup: the animation group ID.
  • animID: the ID of the animation within the group.

Returns

Returns true if succesful, false otherwise.

Example

See Also