# PED::_GET_IS_PED_BEING_ROBBED

- **Hash:** `0xE33F98BD76490ABC`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `GetIsPedBeingRobbed`
- **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_BEING_ROBBED

## Signature

```c
BOOL _GET_IS_PED_BEING_ROBBED(Ped ped, Player player, BOOL trueUntilPlayerPocketsItem);
```

## Parameters

- `ped` (`Ped`)
- `player` (`Player`)
- `trueUntilPlayerPocketsItem` (`BOOL`)

## Returns

`BOOL`

## Description

If p2 is false, then this native will return true until the interaction is complete. If true, the native will return true until player pockets robbery item.
_GET_IS_PED_[M-R]*

## Usage

### Lua

```lua
local retval = GetIsPedBeingRobbed(ped, player, trueUntilPlayerPocketsItem)

-- always available, by hash
local retval = Citizen.InvokeNative(0xE33F98BD76490ABC, ped, player, trueUntilPlayerPocketsItem, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = GetIsPedBeingRobbed(ped, player, trueUntilPlayerPocketsItem);

// by hash
const retval = Citizen.invokeNative('0xE33F98BD76490ABC', ped, player, trueUntilPlayerPocketsItem, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xE33F98BD76490ABC, ped, player, trueUntilPlayerPocketsItem);
```

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