RDR3 matchUnofficial name
AITRANSPORT::_IS_TRANSPORT_SEAT_OCCUPIED
0xC2F89CE1D1D1F9FD ·RVA 0x04BF6BF0
Signature
BOOL _IS_TRANSPORT_SEAT_OCCUPIED(
Entity transportEntity,
int seatIndex
);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | transportEntity |
– |
| 1 | int | seatIndex |
– |
Returns
BOOL
Call it
// AITRANSPORT::_IS_TRANSPORT_SEAT_OCCUPIED
auto result = invoke<BOOL>(0xC2F89CE1D1D1F9FD, transportEntity, seatIndex);// AITRANSPORT::_IS_TRANSPORT_SEAT_OCCUPIED
bool result = Function.Call<bool>((Hash)0xC2F89CE1D1D1F9FD, transportEntity, seatIndex);-- AITRANSPORT::_IS_TRANSPORT_SEAT_OCCUPIED
local result = Citizen.InvokeNative(0xC2F89CE1D1D1F9FD, transportEntity, seatIndex)// AITRANSPORT::_IS_TRANSPORT_SEAT_OCCUPIED
const result = Citizen.invokeNative("0xC2F89CE1D1D1F9FD", transportEntity, seatIndex);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.