PlayPedAnimation

From GT-MP
Jump to: navigation, search
PlayPedAnimation
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Plays a specific Animation for a specific Ped. See Animations

Syntax

API.playPedAnimation(NetHandle ped, bool looped, string animDict, string animName);

Required Arguments

  • ped: parameter input should be in NetHandle type.
  • looped: parameter input should be in bool type.
  • animDict: parameter input should be in string type.
  • animName: parameter input should be in string type.

Usage example(s)

Example Description

API.playPedAnimation(NetHandle ped, bool looped, string animDict, string animName);

References