RedM Natives

_GET_FIRST_ENTITY_PED_IS_CARRYING

Hash0xD806CD2A4F2C2996
Runtime nameGetFirstEntityPedIsCarrying
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Entity _GET_FIRST_ENTITY_PED_IS_CARRYING(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns Entity

Description

femga rdr3_discoveries · research notes

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.

femga rdr3_discoveries · research notes

// 0xD806CD2A4F2C2996
INT GET_PED_CARRIED_ENTITY (Ped ped)

Usage

Lua
local retval = GetFirstEntityPedIsCarrying(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0xD806CD2A4F2C2996, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetFirstEntityPedIsCarrying(ped);

// by hash
const retval = Citizen.invokeNative('0xD806CD2A4F2C2996', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.