setPedMicroMorph
SET_PED_MICRO_MORPH0x71A5C1DBA060049EThe GTA V native SET_PED_MICRO_MORPH of the PED namespace, as LS:MP client scripts call it: the global function setPedMicroMorph, in JavaScript and in Lua.
setPedMicroMorph(ped: Ped, index: number, scale: number): voidsetPedMicroMorph(ped: Ped, index: integer, scale: number)Usage
setPedMicroMorph(ped, index, scale);setPedMicroMorph(ped, index, scale)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
index | int | number | integer |
scale | float | number | number |
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.
Sets the various freemode face features, e.g. nose length, chin shape. Scale ranges from -1.0 to 1.0.
0 - Nose Width (Thin/Wide)
1 - Nose Peak (Up/Down)
2 - Nose Length (Long/Short)
3 - Nose Bone Curveness (Crooked/Curved)
4 - Nose Tip (Up/Down)
5 - Nose Bone Twist (Left/Right)
6 - Eyebrow (Up/Down)
7 - Eyebrow (In/Out)
8 - Cheek Bones (Up/Down)
9 - Cheek Sideways Bone Size (In/Out)
10 - Cheek Bones Width (Puffed/Gaunt)
11 - Eye Opening (Both) (Wide/Squinted)
12 - Lip Thickness (Both) (Fat/Thin)
13 - Jaw Bone Width (Narrow/Wide)
14 - Jaw Bone Shape (Round/Square)
15 - Chin Bone (Up/Down)
16 - Chin Bone Length (In/Out or Backward/Forward)
17 - Chin Bone Shape (Pointed/Square)
18 - Chin Hole (Chin Bum)
19 - Neck Thickness (Thin/Thick)
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_MICRO_MORPH(Ped ped, int index, float scale)- Hash
0x71A5C1DBA060049E- Formerly
_SET_PED_FACE_FEATURE_SET_PED_MICRO_MORPH_VALUE