Перейти к содержанию

PlayPedAnimation

Материал из RAGE MP Wiki Archive

Makes the Ped play an animation.


<syntaxhighlight lang="csharp">void NAPI.Ped.PlayPedAnimation(Ped ped, bool looped, string dictionary, string name);</syntaxhighlight>

Parameters

  • ped: The Ped playing the animation.
  • looped: Whether the animation should be played in loop.
  • dictionary: The library containing the animation.
  • name: The name of the animation to play.


Example

<syntaxhighlight lang="csharp"> // Code here... </syntaxhighlight>