_SET_TRANSPORT_EXCLUSIVE_DRIVER
Hash
0x4248AB2EEB3C75ADRuntime name
SetTransportExclusiveDriverNamespaceAITRANSPORT
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_TRANSPORT_EXCLUSIVE_DRIVER(Entity transportEntity, Ped ped, int seatIndex);Parameters
| Name | Type | Description |
|---|---|---|
transportEntity | Entity | — |
ped | Ped | — |
seatIndex | int | — |
Returns void
Usage
SetTransportExclusiveDriver(transportEntity, ped, seatIndex)
-- always works, by hash
Citizen.InvokeNative(0x4248AB2EEB3C75AD, transportEntity, ped, seatIndex)JavaScript and C#
SetTransportExclusiveDriver(transportEntity, ped, seatIndex);
// by hash
Citizen.invokeNative('0x4248AB2EEB3C75AD', transportEntity, ped, seatIndex);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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.