The Lab
VEHICLE native

SET_VEHICLE_EXCLUSIVE_DRIVER

returns void3 paramsbuild 1207

Sets ped as an exclusive driver of vehicle in slot index.

Signature

C
void SET_VEHICLE_EXCLUSIVE_DRIVER(Vehicle vehicle, Ped ped, int index); // 0xC6B9BF123B9463B6 b1207

Parameters

#NameType
1vehicleVehicle
2pedPed
3indexint

Facts

Facts about SET_VEHICLE_EXCLUSIVE_DRIVER
Name
SET_VEHICLE_EXCLUSIVE_DRIVER
Hash
0xC6B9BF123B9463B6
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xC6B9BF123B9463B6, -- SET_VEHICLE_EXCLUSIVE_DRIVER
  0, -- Vehicle vehicle
  PlayerPedId(), -- Ped ped
  0 -- int index
)
JavaScript
Citizen.invokeNative("0xC6B9BF123B9463B6", // SET_VEHICLE_EXCLUSIVE_DRIVER
  0, // Vehicle vehicle
  PlayerPedId(), // Ped ped
  0 // int index
);
C#
Function.Call((Hash)0xC6B9BF123B9463B6, // SET_VEHICLE_EXCLUSIVE_DRIVER
  0, // Vehicle vehicle
  API.PlayerPedId(), // Ped ped
  0 // int index
);
All VEHICLE natives

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