{"hash":"0xFFEC4B0A1A3ED515","ns":"AITRANSPORT","name":"_GET_PED_IN_TRANSPORT_SEAT","slug":"_GET_PED_IN_TRANSPORT_SEAT","official":false,"named":true,"luaName":"GetPedInTransportSeat","game":"rdr3","apiset":"client","returnType":"Ped","params":[{"name":"transportEntity","type":"Entity"},{"name":"seatIndex","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"seatIndex: see CREATE_PED_INSIDE_VEHICLE"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/AITRANSPORT/_GET_PED_IN_TRANSPORT_SEAT","markdownUrl":"https://natives.borderlinerp.com/natives/AITRANSPORT/_GET_PED_IN_TRANSPORT_SEAT.md","snippets":{"lua":"local retval = GetPedInTransportSeat(transportEntity, seatIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0xFFEC4B0A1A3ED515, transportEntity, seatIndex, Citizen.ResultAsInteger())","js":"const retval = GetPedInTransportSeat(transportEntity, seatIndex);","jsInvoke":"const retval = Citizen.invokeNative('0xFFEC4B0A1A3ED515', transportEntity, seatIndex, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xFFEC4B0A1A3ED515, transportEntity, seatIndex);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}