{"hash":"0x9A9112A0FE9A4713","ns":"PED","name":"GET_VEHICLE_PED_IS_IN","slug":"GET_VEHICLE_PED_IS_IN","official":true,"named":true,"luaName":"GetVehiclePedIsIn","game":"rdr3","apiset":"client","returnType":"Vehicle","params":[{"name":"ped","type":"Ped"},{"name":"lastVehicle","type":"BOOL"}],"summary":"Gets the vehicle the specified Ped is in.","descriptions":[{"source":"alloc8or","format":"text","body":"Gets the vehicle the specified Ped is in.\n\nIf the Ped is not in a vehicle and includeLastVehicle is true, the vehicle they were last in is returned."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x9A9112A0FE9A4713","gtaJhash":"0xAFE92319","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/GET_VEHICLE_PED_IS_IN","markdownUrl":"https://natives.borderlinerp.com/natives/PED/GET_VEHICLE_PED_IS_IN.md","snippets":{"lua":"local retval = GetVehiclePedIsIn(ped, lastVehicle)","luaInvoke":"local retval = Citizen.InvokeNative(0x9A9112A0FE9A4713, ped, lastVehicle, Citizen.ResultAsInteger())","js":"const retval = GetVehiclePedIsIn(ped, lastVehicle);","jsInvoke":"const retval = Citizen.invokeNative('0x9A9112A0FE9A4713', ped, lastVehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x9A9112A0FE9A4713, ped, lastVehicle);","notes":[]}}