{"hash":"0x59F3F16577CD79B2","ns":"VEHICLE","name":"GET_VEHICLE_NUMBER_OF_PASSENGERS","slug":"GET_VEHICLE_NUMBER_OF_PASSENGERS","official":true,"named":true,"luaName":"GetVehicleNumberOfPassengers","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"vehicle","type":"Vehicle"}],"summary":"Gets the number of passengers, NOT including the driver.","descriptions":[{"source":"alloc8or","format":"text","body":"Gets the number of passengers, NOT including the driver. Use IS_VEHICLE_SEAT_FREE(Vehicle, -1) to also check for the driver"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x24CB2137731FFE89","gtaJhash":"0x1EF20849","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/GET_VEHICLE_NUMBER_OF_PASSENGERS","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/GET_VEHICLE_NUMBER_OF_PASSENGERS.md","snippets":{"lua":"local retval = GetVehicleNumberOfPassengers(vehicle)","luaInvoke":"local retval = Citizen.InvokeNative(0x59F3F16577CD79B2, vehicle, Citizen.ResultAsInteger())","js":"const retval = GetVehicleNumberOfPassengers(vehicle);","jsInvoke":"const retval = Citizen.invokeNative('0x59F3F16577CD79B2', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x59F3F16577CD79B2, vehicle);","notes":[]}}