RDR3 matchUnofficial name
AITRANSPORT::_SET_PED_USE_TRANSPORT_SEAT_PREFERENCE
0x8D7698A948F860B3 ·RVA 0x04BF9090
Signature
void _SET_PED_USE_TRANSPORT_SEAT_PREFERENCE(
Ped ped,
Entity transportEntity,
int preferenceSlot,
int p3,
int seatIndex
);
The scripts pass 7 values to this native; the decoded signature lists 5 (arguments the game doesn't read are left out).
Parameters 5
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Entity | transportEntity |
– |
| 2 | int | preferenceSlot |
– |
| 3 | int | p3 |
– |
| 4 | int | seatIndex |
– |
Returns
void Nothing.
Call it
// AITRANSPORT::_SET_PED_USE_TRANSPORT_SEAT_PREFERENCE
invoke<Void>(0x8D7698A948F860B3, ped, transportEntity, preferenceSlot, p3, seatIndex);// AITRANSPORT::_SET_PED_USE_TRANSPORT_SEAT_PREFERENCE
Function.Call((Hash)0x8D7698A948F860B3, ped, transportEntity, preferenceSlot, p3, seatIndex);-- AITRANSPORT::_SET_PED_USE_TRANSPORT_SEAT_PREFERENCE
Citizen.InvokeNative(0x8D7698A948F860B3, ped, transportEntity, preferenceSlot, p3, seatIndex)// AITRANSPORT::_SET_PED_USE_TRANSPORT_SEAT_PREFERENCE
Citizen.invokeNative("0x8D7698A948F860B3", ped, transportEntity, preferenceSlot, p3, 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.