RedM Natives

SET_PED_ON_TRANSPORT_SEAT

Hash0xE588B5A8A005CB5E
Runtime nameSetPedOnTransportSeat
NamespaceAITRANSPORT
SideClient
NameOfficial
Docs
Since build1207

Signature

void SET_PED_ON_TRANSPORT_SEAT(Ped ped, Entity transportEntity, int seat, int flags);

Parameters

NameTypeDescription
pedPed—
transportEntityEntity—
seatint—
flagsint—

Returns void

Description

Usage

Lua
SetPedOnTransportSeat(ped, transportEntity, seat, flags)

-- always works, by hash
Citizen.InvokeNative(0xE588B5A8A005CB5E, ped, transportEntity, seat, flags)
JavaScript and C#
JavaScript
SetPedOnTransportSeat(ped, transportEntity, seat, flags);

// by hash
Citizen.invokeNative('0xE588B5A8A005CB5E', ped, transportEntity, seat, flags);
C#
Function.Call((Hash)0xE588B5A8A005CB5E, ped, transportEntity, seat, flags);

See also

Sources

alloc8or RDR3 NativeDB

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