SET_PED_ON_TRANSPORT_SEAT
Hash
0xE588B5A8A005CB5ERuntime name
SetPedOnTransportSeatNamespaceAITRANSPORT
SideClient
NameOfficial
Docs
Since build1207
Signature
void SET_PED_ON_TRANSPORT_SEAT(Ped ped, Entity transportEntity, int seat, int flags);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
transportEntity | Entity | — |
seat | int | — |
flags | int | — |
Returns void
Description
seat: see CREATE_PED_INSIDE_VEHICLE
Usage
SetPedOnTransportSeat(ped, transportEntity, seat, flags)
-- always works, by hash
Citizen.InvokeNative(0xE588B5A8A005CB5E, ped, transportEntity, seat, flags)JavaScript and C#
SetPedOnTransportSeat(ped, transportEntity, seat, flags);
// by hash
Citizen.invokeNative('0xE588B5A8A005CB5E', ped, transportEntity, seat, flags);Function.Call((Hash)0xE588B5A8A005CB5E, ped, transportEntity, seat, flags);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.