_SET_DRIVING_SEAT
Sets which seat index acts as the driver seat for driving tasks
Hash
0x4BA972D0E5AD8122Runtime name
SetDrivingSeatNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_DRIVING_SEAT(Any p0, Any p1);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Any | — |
p1 | Any | — |
Returns void
Description
Sets which seat index acts as the driver seat for driving tasks
Usage
SetDrivingSeat(p0, p1)
-- always works, by hash
Citizen.InvokeNative(0x4BA972D0E5AD8122, p0, p1)JavaScript and C#
SetDrivingSeat(p0, p1);
// by hash
Citizen.invokeNative('0x4BA972D0E5AD8122', p0, p1);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
InvokeNativewith the hash — it always works.
See also
_GET_DRIVING_SEATReturns the seat index currently set as the driving seat for the specified vehicle vehicle: The vehicle to query.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.