The Lab
AITRANSPORT native

IS_PED_EXITING_TRANSPORT

returns BOOL2 paramsbuild 1207

Returns true while ped is in the process of getting off transportEntity.

Signature

C
BOOL IS_PED_EXITING_TRANSPORT(Ped ped, Entity transportEntity); // 0x660639BC60157048 b1207

Parameters

#NameType
1pedPed
2transportEntityEntity

Facts

Facts about IS_PED_EXITING_TRANSPORT
Name
IS_PED_EXITING_TRANSPORT
Hash
0x660639BC60157048
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(0x660639BC60157048, -- IS_PED_EXITING_TRANSPORT
  PlayerPedId(), -- Ped ped
  PlayerPedId() -- Entity transportEntity
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x660639BC60157048", // IS_PED_EXITING_TRANSPORT
  PlayerPedId(), // Ped ped
  PlayerPedId(), // Entity transportEntity
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x660639BC60157048, // IS_PED_EXITING_TRANSPORT
  API.PlayerPedId(), // Ped ped
  API.PlayerPedId() // Entity transportEntity
);
All AITRANSPORT natives

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