The Lab
AITRANSPORT native

_IS_TRANSPORT_SEAT_FREE

returns BOOL2 paramsbuild 1207

Returns true if seat seatIndex of transportEntity is free to be used.

Signature

C
BOOL _IS_TRANSPORT_SEAT_FREE(Entity transportEntity, int seatIndex); // 0x43FF27FC1829C202 b1207

Parameters

#NameType
1transportEntityEntity
2seatIndexint

Facts

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

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