PedClient

setFacialIdleAnimOverride

SET_FACIAL_IDLE_ANIM_OVERRIDE0xFFC24B988B938B38

The GTA V native SET_FACIAL_IDLE_ANIM_OVERRIDE of the PED namespace, as LS:MP client scripts call it: the global function setFacialIdleAnimOverride, in JavaScript and in Lua.

SignatureJavaScript
setFacialIdleAnimOverride(ped: Ped, animName: string, animDict: string): void
SignatureLua
setFacialIdleAnimOverride(ped: Ped, animName: string, animDict: string)

Usage

JavaScript
setFacialIdleAnimOverride(ped, animName, animDict);
Lua
setFacialIdleAnimOverride(ped, animName, animDict)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
animNamestringstringstring
animDictstringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json

Reference

Namespace
Ped PED
In the game
void SET_FACIAL_IDLE_ANIM_OVERRIDE(Ped ped, const char* animName, const char* animDict)
Hash
0xFFC24B988B938B38

Open in the interactive natives reference