PedClient

setFacialClipset

SET_FACIAL_CLIPSET0x5687C7F05B39E401

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

SignatureJavaScript
setFacialClipset(ped: Ped, animDict: string): void
SignatureLua
setFacialClipset(ped: Ped, animDict: string)

Usage

JavaScript
setFacialClipset(ped, animDict);
Lua
setFacialClipset(ped, animDict)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
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.

Clipsets:
facials@gen_female@base
facials@gen_male@base
facials@p_m_zero@base

Typically followed with SET_FACIAL_IDLE_ANIM_OVERRIDE:
mood_drunk_1
mood_stressed_1
mood_happy_1
mood_talking_1

Reference

Namespace
Ped PED
In the game
void SET_FACIAL_CLIPSET(Ped ped, const char* animDict)
Hash
0x5687C7F05B39E401
Introduced
Game build 1493 legacy numbering
Formerly
_SET_FACIAL_CLIPSET_OVERRIDE

Open in the interactive natives reference