# CFX::SET_PED_HEAD_BLEND_DATA

- **Hash:** `0x60746B88`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetPedHeadBlendData`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_PED_HEAD_BLEND_DATA

## Signature

```c
void SET_PED_HEAD_BLEND_DATA(Ped ped, int shapeFirstID, int shapeSecondID, int shapeThirdID, int skinFirstID, int skinSecondID, int skinThirdID, float shapeMix, float skinMix, float thirdMix, BOOL isParent);
```

## Parameters

- `ped` (`Ped`) — The ped entity
- `shapeFirstID` (`int`) — Controls the shape of the first ped's face
- `shapeSecondID` (`int`) — Controls the shape of the second ped's face
- `shapeThirdID` (`int`) — Controls the shape of the third ped's face
- `skinFirstID` (`int`) — Controls the first id's skin tone
- `skinSecondID` (`int`) — Controls the second id's skin tone
- `skinThirdID` (`int`) — Controls the third id's skin tone
- `shapeMix` (`float`) — 0.0 - 1.0 Of whose characteristics to take Mother -> Father (shapeFirstID and shapeSecondID)
- `skinMix` (`float`) — 0.0 - 1.0 Of whose characteristics to take Mother -> Father (skinFirstID and skinSecondID)
- `thirdMix` (`float`) — Overrides the others in favor of the third IDs.
- `isParent` (`BOOL`) — IsParent is set for "children" of the player character's grandparents during old-gen character creation. It has unknown effect otherwise.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

For more info and the list of faceIDs please refer to [this](https://gtaforums.com/topic/858970-all-gtao-face-ids-pedset-ped-head-blend-data-explained) topic. Note that the Skin and Shape IDs are shared. This native will use this same list for both Skin and Shape IDs.
**Other information:**
IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.
This native function is often called prior to calling natives such as:

*   [`SetPedHairColor`](#\_0xA23FE32C)
*   [`SetPedHeadOverlayColor`](#\_0x78935A27)
*   [`SetPedHeadOverlay`](#\_0xD28DBA90)
*   [`SetPedFaceFeature`](#\_0x6C8D4458)

**This is the server-side RPC native equivalent of the client native [SET_PED_HEAD_BLEND_DATA](?\_0x9414E18B9434C2FE).**

## Usage

### Lua

```lua
SetPedHeadBlendData(ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix, skinMix, thirdMix, isParent)

-- always available, by hash
Citizen.InvokeNative(0x60746b88, ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix, skinMix, thirdMix, isParent)
```

### JavaScript

```js
SetPedHeadBlendData(ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix, skinMix, thirdMix, isParent);

// by hash
Citizen.invokeNative('0x60746b88', ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix + 0.0000001, skinMix + 0.0000001, thirdMix + 0.0000001, isParent);
```

### C#

```csharp
Function.Call((Hash)0x60746b88, ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix, skinMix, thirdMix, isParent);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.

*Sources: Cfx.re native reference.*
