M MY Multiplayer: Wiki
Side
Kind

getPedHeadBlend

Shared

Tells how a ped's face blends its two parents.

int, int, int, int, float, float|false getPedHeadBlend(ped ped)

Parameters

NameTypeDescription
pedpedThe ped or player.

Returns

Six values: father, mother, skinFather, skinMother, shapeMix and skinMix, as setPedHeadBlend takes them. false if it is not a ped.

Example

local father, mother, skinFather, skinMother, shapeMix, skinMix = getPedHeadBlend(localPlayer)
outputDebugString("shape mix: " .. shapeMix)
Coming from MTAMTA does not have this function. It follows FiveM's GetPedHeadBlendData.

See also