# PED::_GET_LOOTING_FLAG

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

## Signature

```c
BOOL _GET_LOOTING_FLAG(Ped ped, int lootFlag);
```

## Parameters

- `ped` (`Ped`)
- `lootFlag` (`int`)

## Returns

`BOOL`

## Description

lootFlag: see SET_LOOTING_FLAG

## Usage

### Lua

```lua
local retval = GetLootingFlag(ped, lootFlag)

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

### JavaScript

```js
const retval = GetLootingFlag(ped, lootFlag);

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

### C#

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

- 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

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

## See also

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

*Sources: alloc8or RDR3 NativeDB.*
