# getPedHeadBlend (Compartilhado)

> Diz como o rosto de um ped mistura os seus dois pais.

- **Plataforma**: MY Multiplayer (MYMP)
- **Tipo**: Função Lua
- **Lado**: Compartilhado
- **Categoria**: Aparência
- **URL**: https://wiki.mymp.gg/pt/getPedHeadBlend

## Sintaxe

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

## Parâmetros

| Nome | Tipo | Descrição |
| --- | --- | --- |
| `ped` | `ped` | O ped ou jogador. |

## Retorno

Seis valores: `father`, `mother`, `skinFather`, `skinMother`, `shapeMix` e `skinMix`, como `setPedHeadBlend` os recebe. `false` se não é um ped.

## Exemplo

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

### Vindo do MTA

O MTA não tem esta função. Ela segue `GetPedHeadBlendData` do FiveM.

## Veja também

- [setPedHeadBlend (Compartilhado)](https://wiki.mymp.gg/pt/setPedHeadBlend.md): Monta o rosto de um ped misturando a cabeça e a pele de dois pais.
