SetPedAnimation

From Multi Theft Auto: Wiki
Revision as of 18:20, 30 March 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} Sets the current animation of a ped. ==Syntax== <syntaxhighlight lang="lua"> bool setPedAnimation ( ped thePed, int animGroup, int animID ) </syntaxhighlight> ===Required Arguments===...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets the current animation of a ped.

Syntax

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

Required Arguments

  • thePed: the 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