# PED::_SET_PED_ACTION_DISABLE_FLAG

- **Hash:** `0xB8DE69D9473B7593`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedActionDisableFlag`
- **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_ACTION_DISABLE_FLAG

## Signature

```c
void _SET_PED_ACTION_DISABLE_FLAG(Ped ped, int actionDisableFlag);
```

## Parameters

- `ped` (`Ped`)
- `actionDisableFlag` (`int`)

## Returns

`void`

## Description

https://github.com/femga/rdr3_discoveries/tree/master/AI/COMBAT_ACTION_DISABLE_FLAGS

## Usage

### Lua

```lua
SetPedActionDisableFlag(ped, actionDisableFlag)

-- always available, by hash
Citizen.InvokeNative(0xB8DE69D9473B7593, ped, actionDisableFlag)
```

### JavaScript

```js
SetPedActionDisableFlag(ped, actionDisableFlag);

// by hash
Citizen.invokeNative('0xB8DE69D9473B7593', ped, actionDisableFlag);
```

### C#

```csharp
Function.Call((Hash)0xB8DE69D9473B7593, ped, actionDisableFlag);
```

- 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

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

## See also

- [PED::_CLEAR_PED_ACTION_DISABLE_FLAG](https://natives.borderlinerp.com/natives/PED/_CLEAR_PED_ACTION_DISABLE_FLAG.md)

*Sources: alloc8or RDR3 NativeDB.*
