PlayPedAnimation

From RAGE Multiplayer Wiki
Revision as of 15:09, 23 December 2022 by Xabi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This feature is currently not implemented server-side.

Makes the Ped play an animation.


C# Syntax

void NAPI.Ped.PlayPedAnimation(Ped ped, bool looped, string dictionary, string name);

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

// Code here...