_SET_PED_USE_TRANSPORT_SEAT_PREFERENCE
Hash
0xB7079F4C72896756Runtime name
SetPedUseTransportSeatPreferenceNamespaceAITRANSPORT
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PED_USE_TRANSPORT_SEAT_PREFERENCE(Ped ped, Entity transportEntity, int preferenceSlot, int p3, int seatIndex);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
transportEntity | Entity | — |
preferenceSlot | int | — |
p3 | int | — |
seatIndex | int | — |
Returns void
Usage
SetPedUseTransportSeatPreference(ped, transportEntity, preferenceSlot, p3, seatIndex)
-- always works, by hash
Citizen.InvokeNative(0xB7079F4C72896756, ped, transportEntity, preferenceSlot, p3, seatIndex)JavaScript and C#
SetPedUseTransportSeatPreference(ped, transportEntity, preferenceSlot, p3, seatIndex);
// by hash
Citizen.invokeNative('0xB7079F4C72896756', ped, transportEntity, preferenceSlot, p3, seatIndex);Function.Call((Hash)0xB7079F4C72896756, ped, transportEntity, preferenceSlot, p3, 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.