# PED::_SET_PED_MOTIVATION_STATE_OVERRIDE

- **Hash:** `0x2EB75FB86C41F026`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedMotivationStateOverride`
- **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_MOTIVATION_STATE_OVERRIDE

## Signature

```c
void _SET_PED_MOTIVATION_STATE_OVERRIDE(Ped ped, int motivationState, BOOL enabled);
```

## Parameters

- `ped` (`Ped`)
- `motivationState` (`int`)
- `enabled` (`BOOL`)

## Returns

`void`

## Description

motivationState: see _SET_PED_MOTIVATION

## Usage

### Lua

```lua
SetPedMotivationStateOverride(ped, motivationState, enabled)

-- always available, by hash
Citizen.InvokeNative(0x2EB75FB86C41F026, ped, motivationState, enabled)
```

### JavaScript

```js
SetPedMotivationStateOverride(ped, motivationState, enabled);

// by hash
Citizen.invokeNative('0x2EB75FB86C41F026', ped, motivationState, enabled);
```

### C#

```csharp
Function.Call((Hash)0x2EB75FB86C41F026, ped, motivationState, enabled);
```

- 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

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

*Sources: alloc8or RDR3 NativeDB.*
