The Lab
AITRANSPORT native

_IS_PED_ON_TRANSPORT_SEAT

returns BOOL2 paramsbuild 1207

Returns true if ped is currently seated on any transport seat. The meaning of p1 is not documented.

Signature

C
BOOL _IS_PED_ON_TRANSPORT_SEAT(Ped ped, BOOL p1); // 0xDC44F405A6B98D03 b1207

Parameters

#NameType
1pedPed
2p1BOOL

Facts

Facts about _IS_PED_ON_TRANSPORT_SEAT
Name
_IS_PED_ON_TRANSPORT_SEAT
Hash
0xDC44F405A6B98D03
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xDC44F405A6B98D03, -- _IS_PED_ON_TRANSPORT_SEAT
  PlayerPedId(), -- Ped ped
  false -- BOOL p1
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xDC44F405A6B98D03", // _IS_PED_ON_TRANSPORT_SEAT
  PlayerPedId(), // Ped ped
  false, // BOOL p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xDC44F405A6B98D03, // _IS_PED_ON_TRANSPORT_SEAT
  API.PlayerPedId(), // Ped ped
  false // BOOL p1
);
All AITRANSPORT natives

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