Native referenceFiveM

PLAY_ENTITY_ANIM

0x7FB218262B810701 ENTITY
FUNCTION SIGNATURE
BOOL PLAY_ENTITY_ANIM(Entity entity, char* animName, char* animDict, float fBlendDelta, BOOL bLoop, BOOL bHoldLastFrame, BOOL bDriveToPose, float fStartPhase, int iFlags);
Property Value
Native Name PLAY_ENTITY_ANIM
Hash 0x7FB218262B810701
Return Type BOOL
Parameters entity (Entity), animName (char*), animDict (char*), fBlendDelta (float), bLoop (BOOL), bHoldLastFrame (BOOL), bDriveToPose (BOOL), fStartPhase (float), iFlags (int)

Description: Animations list

Parameters

  • entity (Entity) — The entity handle to play the animation on.
  • animName (char*) — The name of the animation to play.
  • animDict (char*) — The name of the animation dictionary to use.
  • fBlendDelta (float) — Blend in and out time.
  • bLoop (BOOL) — Sets AF_LOOPING in the flags.
  • bHoldLastFrame (BOOL) — Sets AF_HOLD_LAST_FRAME in the flags.
  • bDriveToPose (BOOL) — unused
  • fStartPhase (float) — Clamped between 0.0 and 1.0. Sets the start phase of the animation.
  • iFlags (int) — The flags to use when playing the animation. See TASK_PLAY_ANIM.
Back to ENTITY