{"hash":"0xF7C6792D","ns":"CFX","name":"GET_LAST_PED_IN_VEHICLE_SEAT","slug":"GET_LAST_PED_IN_VEHICLE_SEAT","official":true,"named":true,"luaName":"GetLastPedInVehicleSeat","game":"cfx","apiset":"server","returnType":"Entity","params":[{"name":"vehicle","type":"Vehicle","description":"The target vehicle."},{"name":"seatIndex","type":"int","description":"See eSeatPosition declared in [`IS_VEHICLE_SEAT_FREE`](#\\_0x22AC59A870E6A669)."}],"returnsDescription":"The last ped in the specified seat of the passed vehicle. Returns 0 if the specified seat was never occupied or the last ped does not exist anymore.","summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_LAST_PED_IN_VEHICLE_SEAT","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_LAST_PED_IN_VEHICLE_SEAT.md","snippets":{"lua":"local retval = GetLastPedInVehicleSeat(vehicle, seatIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0xf7c6792d, vehicle, seatIndex, Citizen.ResultAsInteger())","js":"const retval = GetLastPedInVehicleSeat(vehicle, seatIndex);","jsInvoke":"const retval = Citizen.invokeNative('0xf7c6792d', vehicle, seatIndex, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xf7c6792d, vehicle, seatIndex);","notes":[]}}