# CFX::_SET_PED_FACE_FEATURE

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

## Signature

```c
void _SET_PED_FACE_FEATURE(Ped ped, int index, float scale);
```

## Parameters

- `ped` (`Ped`) — The ped entity
- `index` (`int`) — An integer ranging from 0 to 19
- `scale` (`float`) — A float ranging from -1.0 to 1.0

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Sets the various freemode face features, e.g. nose length, chin shape.
**Indexes (From 0 to 19):**
Parentheses indicate morph scale/direction as in (-1.0 to 1.0)

*   **0**: Nose Width (Thin/Wide)
*   **1**: Nose Peak (Up/Down)
*   **2**: Nose Length (Long/Short)
*   **3**: Nose Bone Curveness (Crooked/Curved)
*   **4**: Nose Tip (Up/Down)
*   **5**: Nose Bone Twist (Left/Right)
*   **6**: Eyebrow (Up/Down)
*   **7**: Eyebrow (In/Out)
*   **8**: Cheek Bones (Up/Down)
*   **9**: Cheek Sideways Bone Size (In/Out)
*   **10**: Cheek Bones Width (Puffed/Gaunt)
*   **11**: Eye Opening (Both) (Wide/Squinted)
*   **12**: Lip Thickness (Both) (Fat/Thin)
*   **13**: Jaw Bone Width (Narrow/Wide)
*   **14**: Jaw Bone Shape (Round/Square)
*   **15**: Chin Bone (Up/Down)
*   **16**: Chin Bone Length (In/Out or Backward/Forward)
*   **17**: Chin Bone Shape (Pointed/Square)
*   **18**: Chin Hole (Chin Bum)
*   **19**: Neck Thickness (Thin/Thick)
    **Note:**
    You may need to call [`SetPedHeadBlendData`](#\_0x9414E18B9434C2FE) prior to calling this native in order for it to work.

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

## Usage

### Lua

```lua
SetPedFaceFeature(ped, index, scale)

-- always available, by hash
Citizen.InvokeNative(0x6c8d4458, ped, index, scale)
```

### JavaScript

```js
SetPedFaceFeature(ped, index, scale);

// by hash
Citizen.invokeNative('0x6c8d4458', ped, index, scale + 0.0000001);
```

### C#

```csharp
Function.Call((Hash)0x6c8d4458, ped, index, scale);
```

- 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.*
