# PED::_SET_PED_QUALITY

- **Hash:** `0xCE6B874286D640BB`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedQuality`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_SET_PED_QUALITY

## Signature

```c
void _SET_PED_QUALITY(Ped ped, int quality);
```

## Parameters

- `ped` (`Ped`)
- `quality` (`int`)

## Returns

`void`

## Description

quality: see _GET_PED_QUALITY

## Usage

### Lua

```lua
SetPedQuality(ped, quality)

-- always available, by hash
Citizen.InvokeNative(0xCE6B874286D640BB, ped, quality)
```

### JavaScript

```js
SetPedQuality(ped, quality);

// by hash
Citizen.invokeNative('0xCE6B874286D640BB', ped, quality);
```

### C#

```csharp
Function.Call((Hash)0xCE6B874286D640BB, ped, quality);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

## See also

- [PED::_GET_PED_QUALITY](https://natives.borderlinerp.com/natives/PED/_GET_PED_QUALITY.md) — Returns Ped Quality to be used to calculate Skinning Quality PQ_LOW, PQ_MEDIUM, PQ_HIGH, PQ_MAX

*Sources: alloc8or RDR3 NativeDB.*
