# PED::_GET_PED_QUALITY

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

## Signature

```c
int _GET_PED_QUALITY(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`int`

## Description

Returns Ped Quality to be used to calculate Skinning Quality

enum ePedQuality
{
	PQ_INVALID = -1,
	PQ_LOW,
	PQ_MEDIUM,
	PQ_HIGH,
	PQ_MAX
};

## Usage

### Lua

```lua
local retval = GetPedQuality(ped)

-- always available, by hash
local retval = Citizen.InvokeNative(0x7BCC6087D130312A, ped, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetPedQuality(ped);

// by hash
const retval = Citizen.invokeNative('0x7BCC6087D130312A', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x7BCC6087D130312A, ped);
```

- 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::_SET_PED_QUALITY](https://natives.borderlinerp.com/natives/PED/_SET_PED_QUALITY.md)

*Sources: alloc8or RDR3 NativeDB.*
