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

PlayPedAnimation

Материал из RAGE MP Wiki Archive
Версия от 15:09, 23 декабря 2022; imported>Xabi
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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>