# PED::_GET_FIRST_ENTITY_PED_IS_CARRYING

- **Hash:** `0xD806CD2A4F2C2996`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `GetFirstEntityPedIsCarrying`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_GET_FIRST_ENTITY_PED_IS_CARRYING

## Signature

```c
Entity _GET_FIRST_ENTITY_PED_IS_CARRYING(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`Entity`

## Description

*Source: femga rdr3_discoveries*

```
0xD806CD2A4F2C2996
0xC7F0B43DCDC57E3D
Not sure if somebody found this, but it just get's the carried entity. Also I did some research on the placing of the entity.
```

*Source: femga rdr3_discoveries*

```
// 0xD806CD2A4F2C2996
INT GET_PED_CARRIED_ENTITY (Ped ped)
```

## Usage

### Lua

```lua
local retval = GetFirstEntityPedIsCarrying(ped)

-- always available, by hash
local retval = Citizen.InvokeNative(0xD806CD2A4F2C2996, ped, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetFirstEntityPedIsCarrying(ped);

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

### C#

```csharp
int retval = Function.Call<int>((Hash)0xD806CD2A4F2C2996, ped);
```

- 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, femga rdr3_discoveries.*
