{"hash":"0x67722AEB798E5FAB","ns":"PED","name":"IS_PED_ON_VEHICLE","slug":"IS_PED_ON_VEHICLE","official":true,"named":true,"luaName":"IsPedOnVehicle","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"p1","type":"BOOL"}],"summary":"Gets a value indicating whether the specified ped is on top of any vehicle.","descriptions":[{"source":"alloc8or","format":"text","body":"Gets a value indicating whether the specified ped is on top of any vehicle.\n\nReturn 1 when ped is on vehicle.\nReturn 0 when ped is not on a vehicle."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x67722AEB798E5FAB","gtaJhash":"0xA1AE7CC7","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/IS_PED_ON_VEHICLE","markdownUrl":"https://natives.borderlinerp.com/natives/PED/IS_PED_ON_VEHICLE.md","snippets":{"lua":"local retval = IsPedOnVehicle(ped, p1)","luaInvoke":"local retval = Citizen.InvokeNative(0x67722AEB798E5FAB, ped, p1, Citizen.ReturnResultAnyway())","js":"const retval = IsPedOnVehicle(ped, p1);","jsInvoke":"const retval = Citizen.invokeNative('0x67722AEB798E5FAB', ped, p1, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x67722AEB798E5FAB, ped, p1);","notes":[]}}