{"hash":"0x4C543D5DFCD2DAFD","ns":"INVENTORY","name":"_INVENTORY_COMPARE_GUIDS","slug":"_INVENTORY_COMPARE_GUIDS","official":false,"named":true,"luaName":"InventoryCompareGuids","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"guid1","type":"Any*"},{"name":"guid2","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_COMPARE_GUIDS","markdownUrl":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_COMPARE_GUIDS.md","snippets":{"lua":"local retval, guid1, guid2 = InventoryCompareGuids()","luaInvoke":"local retval, guid1, guid2 = Citizen.InvokeNative(0x4C543D5DFCD2DAFD, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())","js":"const [retval, guid1, guid2] = InventoryCompareGuids();","jsInvoke":"const [retval, guid1, guid2] = Citizen.invokeNative('0x4C543D5DFCD2DAFD', Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.returnResultAnyway());","csharp":"var guid1 = new OutputArgument();\nvar guid2 = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x4C543D5DFCD2DAFD, guid1, guid2);\n// guid1.GetResult<int>()\n// guid2.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.","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."]}}