# getPedHeadBlend (Compartido)

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

- **Plataforma**: MY Multiplayer (MYMP)
- **Tipo**: Función Lua
- **Lado**: Compartido
- **Categoría**: Apariencia
- **URL**: https://wiki.mymp.gg/es/getPedHeadBlend

## Sintaxis

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

## Parámetros

| Nombre | Tipo | Descripción |
| --- | --- | --- |
| `ped` | `ped` | El ped o jugador. |

## Retorno

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

## Ejemplo

```lua
local father, mother, skinFather, skinMother, shapeMix, skinMix = getPedHeadBlend(localPlayer)
outputDebugString("mezcla de forma: " .. shapeMix)
```

### Si vienes de MTA

MTA no tiene esta función. Sigue `GetPedHeadBlendData` de FiveM.

## Ver también

- [setPedHeadBlend (Compartido)](https://wiki.mymp.gg/es/setPedHeadBlend.md): Arma el rostro de un ped mezclando la cabeza y la piel de dos padres.
