RedM Natives

_SET_TRANSPORT_EXCLUSIVE_DRIVER

Hash0x4248AB2EEB3C75AD
Runtime nameSetTransportExclusiveDriver
NamespaceAITRANSPORT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_TRANSPORT_EXCLUSIVE_DRIVER(Entity transportEntity, Ped ped, int seatIndex);

Parameters

NameTypeDescription
transportEntityEntity—
pedPed—
seatIndexint—

Returns void

Usage

Lua
SetTransportExclusiveDriver(transportEntity, ped, seatIndex)

-- always works, by hash
Citizen.InvokeNative(0x4248AB2EEB3C75AD, transportEntity, ped, seatIndex)
JavaScript and C#
JavaScript
SetTransportExclusiveDriver(transportEntity, ped, seatIndex);

// by hash
Citizen.invokeNative('0x4248AB2EEB3C75AD', transportEntity, ped, seatIndex);
C#
Function.Call((Hash)0x4248AB2EEB3C75AD, transportEntity, ped, seatIndex);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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