M MY Multiplayer: Wiki
Lado
Tipo

getPedHeadBlend

Compartido

Dice cómo el rostro de un ped mezcla a sus dos padres.

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

Parámetros

NombreTipoDescripción
pedpedEl ped o jugador.

Retorno

Seis valores: father, mother, skinFather, skinMother, shapeMix y skinMix, como los recibe setPedHeadBlend. false si no es un ped.

Ejemplo

local father, mother, skinFather, skinMother, shapeMix, skinMix = getPedHeadBlend(localPlayer)
outputDebugString("mezcla de forma: " .. shapeMix)
Si vienes de MTAMTA no tiene esta función. Sigue GetPedHeadBlendData de FiveM.

Ver también