Native referenceFiveM

FORCE_PED_AI_AND_ANIMATION_UPDATE

0x2208438012482A1A PED
FUNCTION SIGNATURE
void FORCE_PED_AI_AND_ANIMATION_UPDATE(Ped ped, BOOL forceAiPreCameraUpdate, BOOL forceZeroTimestep);
Property Value
Native Name FORCE_PED_AI_AND_ANIMATION_UPDATE
Hash 0x2208438012482A1A
Return Type void
Parameters ped (Ped), forceAiPreCameraUpdate (BOOL), forceZeroTimestep (BOOL)

Description: Forces an instant ped AI and Animation update. Use this if your transitions between animations (especially secondary upper body animations) are janky or not smooth. Do note this is an expensive function.

Back to PED