setFacialClipset
SET_FACIAL_CLIPSET0x5687C7F05B39E401The 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.
setFacialClipset(ped: Ped, animDict: string): voidsetFacialClipset(ped: Ped, animDict: string)Usage
JavaScript
setFacialClipset(ped, animDict);Lua
setFacialClipset(ped, animDict)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
animDict | string | string | string |
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