_IS_PED_ON_TRANSPORT_SEAT
Returns true if ped is currently seated on any transport seat. The meaning of p1 is not documented.
Signature
BOOL _IS_PED_ON_TRANSPORT_SEAT(Ped ped, BOOL p1); // 0xDC44F405A6B98D03 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | p1 | BOOL |
Facts
| 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.
local result = Citizen.InvokeNative(0xDC44F405A6B98D03, -- _IS_PED_ON_TRANSPORT_SEAT
PlayerPedId(), -- Ped ped
false -- BOOL p1
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xDC44F405A6B98D03", // _IS_PED_ON_TRANSPORT_SEAT
PlayerPedId(), // Ped ped
false, // BOOL p1
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xDC44F405A6B98D03, // _IS_PED_ON_TRANSPORT_SEAT
API.PlayerPedId(), // Ped ped
false // BOOL p1
);Related AITRANSPORT natives
- _IS_PED_ON_TRANSPORT_ENTITY
- SET_PED_ON_TRANSPORT_SEAT
- _IS_TRANSPORT_SEAT_FREE
- _IS_TRANSPORT_SEAT_OCCUPIED
- _GET_PED_IN_TRANSPORT_SEAT
- _SET_PED_USE_TRANSPORT_SEAT_PREFERENCE
- IS_PED_ENTERING_TRANSPORT
- IS_PED_EXITING_TRANSPORT
- SET_PED_OFF_TRANSPORT_SEAT
- _SET_TRANSPORT_PRIORITY_SEAT
- SET_TRANSPORT_ACCESSIBLE_SEAT_FLAGS
- _CLEAR_ALL_SEAT_PREFERENCE_SLOTS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.