# PED::_GET_IS_PED_MOTIVATION_STATE_ENABLED

- **Hash:** `0x33FA048675821DA7`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `GetIsPedMotivationStateEnabled`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_GET_IS_PED_MOTIVATION_STATE_ENABLED

## Signature

```c
BOOL _GET_IS_PED_MOTIVATION_STATE_ENABLED(Ped ped, int motivationState);
```

## Parameters

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

## Returns

`BOOL`

## Description

motivationState: see _SET_PED_MOTIVATION

## Usage

### Lua

```lua
local retval = GetIsPedMotivationStateEnabled(ped, motivationState)

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

### JavaScript

```js
const retval = GetIsPedMotivationStateEnabled(ped, motivationState);

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

### C#

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

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