getPedHeadBlend
The getPedHeadBlend
export allows you to retrieve detailed information about a ped’s genetic face and skin blending data. This includes the heritage-based head structure used by the freemode characters, which combines parental facial features and skin tones. It's essential for accurately storing or replicating character appearance in custom servers.
How to Use
To retrieve the head blend data of a ped, use the following code:
This export returns a table with the following fields:
shapeFirst
,shapeSecond
,shapeThird
: Parental shape IDsskinFirst
,skinSecond
,skinThird
: Parental skin tone IDsshapeMix
,skinMix
,thirdMix
: Blend percentages (0.0 to 1.0)shape
: A string like"21_0"
combining the first and second shape IDsskin
: A string like"4_1"
combining the first and second skin tone IDs
This data is crucial for reproducing the exact facial structure and skin tone of any freemode ped using the GTA V character creator system.
Last updated