RedM Natives

_SET_DRIVING_SEAT

Sets which seat index acts as the driver seat for driving tasks

Hash0x4BA972D0E5AD8122
Runtime nameSetDrivingSeat
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_DRIVING_SEAT(Any p0, Any p1);

Parameters

NameTypeDescription
p0Any—
p1Any—

Returns void

Description

VORPCORE RDR3natives

Sets which seat index acts as the driver seat for driving tasks

Usage

Lua
SetDrivingSeat(p0, p1)

-- always works, by hash
Citizen.InvokeNative(0x4BA972D0E5AD8122, p0, p1)
JavaScript and C#
JavaScript
SetDrivingSeat(p0, p1);

// by hash
Citizen.invokeNative('0x4BA972D0E5AD8122', p0, p1);
C#
Function.Call((Hash)0x4BA972D0E5AD8122, p0, p1);
  • 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.

See also

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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