{"hash":"0xB213D2A560B2E48B","ns":"VEHICLE","name":"_IS_PED_EXCLUSIVE_DRIVER_OF_VEHICLE","slug":"_IS_PED_EXCLUSIVE_DRIVER_OF_VEHICLE","official":false,"named":true,"luaName":"IsPedExclusiveDriverOfVehicle","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"vehicle","type":"Vehicle"},{"name":"outIndex","type":"int*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_IS_PED_EXCLUSIVE_DRIVER_OF_VEHICLE","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_IS_PED_EXCLUSIVE_DRIVER_OF_VEHICLE.md","snippets":{"lua":"local retval, outIndex = IsPedExclusiveDriverOfVehicle(ped, vehicle, outIndex)","luaInvoke":"local retval, outIndex = Citizen.InvokeNative(0xB213D2A560B2E48B, ped, vehicle, Citizen.PointerValueIntInitialized(outIndex), Citizen.ReturnResultAnyway())","js":"const [retval, outIndex] = IsPedExclusiveDriverOfVehicle(ped, vehicle, outIndex);","jsInvoke":"const [retval, outIndex] = Citizen.invokeNative('0xB213D2A560B2E48B', ped, vehicle, Citizen.pointerValueIntInitialized(outIndex), Citizen.returnResultAnyway());","csharp":"var outIndex = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xB213D2A560B2E48B, ped, vehicle, outIndex);\n// outIndex.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","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."]}}