The Lab
PED native

_GET_CARRIER_AS_HUMAN

returns Ped1 parambuild 1207

Returns the human ped carrying entity, if any.

Signature

C
Ped _GET_CARRIER_AS_HUMAN(Entity entity); // 0x79443D56C8DF45EE b1207

Parameters

#NameType
1entityEntity

Facts

Facts about _GET_CARRIER_AS_HUMAN
Name
_GET_CARRIER_AS_HUMAN
Hash
0x79443D56C8DF45EE
Namespace
Returns
Ped
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local ped = Citizen.InvokeNative(0x79443D56C8DF45EE, -- _GET_CARRIER_AS_HUMAN
  PlayerPedId(), -- Entity entity
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0x79443D56C8DF45EE", // _GET_CARRIER_AS_HUMAN
  PlayerPedId(), // Entity entity
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0x79443D56C8DF45EE, // _GET_CARRIER_AS_HUMAN
  API.PlayerPedId() // Entity entity
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.