Native referenceRedM

_GET_PED_IN_TRANSPORT_SEAT

0xFFEC4B0A1A3ED515 AITRANSPORT
FUNCTION SIGNATURE
Ped _GET_PED_IN_TRANSPORT_SEAT(`transportEntity` (Entity), `seatIndex` (int));

Description: seatIndex: see CREATE_PED_INSIDE_VEHICLE

Property Value
Native Name _GET_PED_IN_TRANSPORT_SEAT
Hash 0xFFEC4B0A1A3ED515
Return Type Ped
Build 1207
Parameters transportEntity (Entity), seatIndex (int)

Parameters

  • transportEntity (Entity)
  • seatIndex (int)

Usage

Lua (Direct):

local result = GetPedInTransportSeat(transportEntity, seatIndex)

Lua (Hash):

local result = Citizen.InvokeNative(0xFFEC4B0A1A3ED515, transportEntity, seatIndex)

Back to AITRANSPORT