# PED::_GET_PED_COMBAT_ATTRIBUTE

- **Hash:** `0xCC2B20596E29E4E3`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `GetPedCombatAttribute`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_GET_PED_COMBAT_ATTRIBUTE

## Signature

```c
BOOL _GET_PED_COMBAT_ATTRIBUTE(Ped ped, int attributeIndex);
```

## Parameters

- `ped` (`Ped`)
- `attributeIndex` (`int`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = GetPedCombatAttribute(ped, attributeIndex)

-- always available, by hash
local retval = Citizen.InvokeNative(0xCC2B20596E29E4E3, ped, attributeIndex, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = GetPedCombatAttribute(ped, attributeIndex);

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

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xCC2B20596E29E4E3, ped, attributeIndex);
```

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

## Related enums

- [Combat__Attribute__Enum](https://natives.borderlinerp.com/enums/Combat__Attribute__Enum.md) — 135 values

*Sources: alloc8or RDR3 NativeDB.*
