_GET_FIRST_ENTITY_PED_IS_CARRYING
Hash
0xD806CD2A4F2C2996Runtime name
GetFirstEntityPedIsCarryingNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Entity _GET_FIRST_ENTITY_PED_IS_CARRYING(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
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
local retval = GetFirstEntityPedIsCarrying(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0xD806CD2A4F2C2996, ped, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetFirstEntityPedIsCarrying(ped);
// by hash
const retval = Citizen.invokeNative('0xD806CD2A4F2C2996', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith 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.