PlayPedAnimation: Difference between revisions
(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...") |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Warning|This feature is currently not implemented server-side.}} | |||
Makes the Ped play an animation. | Makes the Ped play an animation. | ||
Latest revision as of 15:09, 23 December 2022
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...