PlayPedAnimation

From RAGE Multiplayer Wiki
Revision as of 09:08, 29 November 2019 by Xabi (talk | contribs) (Created page with "Makes the Ped play an animation. {{CSharpContainer| {{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}Ped.PlayPedAnimation(Ped ped, bool looped, string dic...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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...