_SET_TRANSPORT_EXCLUSIVE_DRIVER
Makes ped the exclusive user of seat seatIndex on transportEntity, so other peds will not take it.
Signature
void _SET_TRANSPORT_EXCLUSIVE_DRIVER(Entity transportEntity, Ped ped, int seatIndex); // 0x4248AB2EEB3C75AD b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | transportEntity | Entity |
| 2 | ped | Ped |
| 3 | seatIndex | int |
Facts
| Name | _SET_TRANSPORT_EXCLUSIVE_DRIVER |
|---|---|
| Hash | 0x4248AB2EEB3C75AD |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x4248AB2EEB3C75AD, -- _SET_TRANSPORT_EXCLUSIVE_DRIVER
PlayerPedId(), -- Entity transportEntity
PlayerPedId(), -- Ped ped
0 -- int seatIndex
)Citizen.invokeNative("0x4248AB2EEB3C75AD", // _SET_TRANSPORT_EXCLUSIVE_DRIVER
PlayerPedId(), // Entity transportEntity
PlayerPedId(), // Ped ped
0 // int seatIndex
);Function.Call((Hash)0x4248AB2EEB3C75AD, // _SET_TRANSPORT_EXCLUSIVE_DRIVER
API.PlayerPedId(), // Entity transportEntity
API.PlayerPedId(), // Ped ped
0 // int seatIndex
);Related AITRANSPORT natives
- _SET_TRANSPORT_EXIT_BLEND_RATIO
- _SET_TRANSPORT_PRIORITY_SEAT
- _SET_TRANSPORT_USAGE_FLAGS
- _SET_AI_CAN_USE_TRANSPORT
- _SET_PED_USE_TRANSPORT_SEAT_PREFERENCE
- SET_PED_OFF_TRANSPORT_SEAT
- SET_PED_ON_TRANSPORT_SEAT
- SET_TRANSPORT_ACCESSIBLE_SEAT_FLAGS
- SET_TRANSPORT_CONFIG_FLAG
- _CLEAR_TRANSPORT_EXIT_BLEND_RATIO
- _GET_PED_IN_TRANSPORT_SEAT
- _GET_TRANSPORT_USAGE_FLAGS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.