RedM Natives

SET_VEHICLE_AI_CAN_USE_EXCLUSIVE_SEATS

Used to be incorrectly named SET_VEHICLE_EXCLUSIVE_DRIVER

Hash0x0893DAFBFA67110E
Runtime nameSetVehicleAiCanUseExclusiveSeats
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x41062318F23ED854

Signature

void SET_VEHICLE_AI_CAN_USE_EXCLUSIVE_SEATS(Vehicle vehicle, BOOL toggle);

Parameters

NameTypeDescription
vehicleVehicle—
toggleBOOL—

Returns void

Description

Used to be incorrectly named SET_VEHICLE_EXCLUSIVE_DRIVER

Usage

Lua
SetVehicleAiCanUseExclusiveSeats(vehicle, toggle)

-- always works, by hash
Citizen.InvokeNative(0x0893DAFBFA67110E, vehicle, toggle)
JavaScript and C#
JavaScript
SetVehicleAiCanUseExclusiveSeats(vehicle, toggle);

// by hash
Citizen.invokeNative('0x0893DAFBFA67110E', vehicle, toggle);
C#
Function.Call((Hash)0x0893DAFBFA67110E, vehicle, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.