# PED::_SET_PED_COMBAT_ATTRIBUTE_HASH

- **Hash:** `0xBD75500141E4725C`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedCombatAttributeHash`
- **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_COMBAT_ATTRIBUTE_HASH

## Signature

```c
void _SET_PED_COMBAT_ATTRIBUTE_HASH(Ped ped, Hash p1);
```

## Parameters

- `ped` (`Ped`)
- `p1` (`Hash`)

## Returns

`void`

## Description

Hashes: GUARD, COMBAT_ANIMAL, LAW, LAW_SHERIFF
_SET_PED_COMBAT_A* - _SET_PED_COMBAT_M*

## Usage

### Lua

```lua
SetPedCombatAttributeHash(ped, p1)

-- always available, by hash
Citizen.InvokeNative(0xBD75500141E4725C, ped, p1)
```

### JavaScript

```js
SetPedCombatAttributeHash(ped, p1);

// by hash
Citizen.invokeNative('0xBD75500141E4725C', ped, p1);
```

### C#

```csharp
Function.Call((Hash)0xBD75500141E4725C, ped, p1);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.
- 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.

*Sources: alloc8or RDR3 NativeDB.*
