# PED::SET_PED_USING_ACTION_MODE

- **Hash:** `0xD75ACCF5E0FB5367`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedUsingActionMode`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/SET_PED_USING_ACTION_MODE

## Signature

```c
void SET_PED_USING_ACTION_MODE(Ped ped, BOOL bActionModeEnabled, int p2, const char* action);
```

## Parameters

- `ped` (`Ped`)
- `bActionModeEnabled` (`BOOL`)
- `p2` (`int`)
- `action` (`const char*`)

## Returns

`void`

## Usage

### Lua

```lua
SetPedUsingActionMode(ped, bActionModeEnabled, p2, action)

-- always available, by hash
Citizen.InvokeNative(0xD75ACCF5E0FB5367, ped, bActionModeEnabled, p2, action)
```

### JavaScript

```js
SetPedUsingActionMode(ped, bActionModeEnabled, p2, action);

// by hash
Citizen.invokeNative('0xD75ACCF5E0FB5367', ped, bActionModeEnabled, p2, action);
```

### C#

```csharp
Function.Call((Hash)0xD75ACCF5E0FB5367, ped, bActionModeEnabled, p2, action);
```

## See also

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

*Sources: alloc8or RDR3 NativeDB.*
