The Lab
PED native

_GET_TRANSPORT_PED_IS_SEATED_ON

returns Entity1 parambuild 1207

Returns the transport entity (mount or vehicle) ped is seated on.

Signature

C
Entity _GET_TRANSPORT_PED_IS_SEATED_ON(Ped ped); // 0x849BD6C6314793D0 b1207

Parameters

#NameType
1pedPed

Facts

Facts about _GET_TRANSPORT_PED_IS_SEATED_ON
Name
_GET_TRANSPORT_PED_IS_SEATED_ON
Hash
0x849BD6C6314793D0
Namespace
Returns
Entity
Game build
1207

Examples

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

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

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