{"hash":"0x6862E4D93F64CF01","ns":"INVENTORY","name":"_0x6862E4D93F64CF01","slug":"0x6862E4D93F64CF01","official":false,"named":false,"luaName":"N_0x6862e4d93f64cf01","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"inventoryId","type":"int"},{"name":"guid","type":"Any*"},{"name":"p2","type":"Hash"},{"name":"p3","type":"Any*"}],"summary":"Only used in R* SP Scripts","descriptions":[{"source":"alloc8or","format":"text","body":"Only used in R* SP Scripts"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/INVENTORY/0x6862E4D93F64CF01","markdownUrl":"https://natives.borderlinerp.com/natives/INVENTORY/0x6862E4D93F64CF01.md","snippets":{"lua":"local retval, guid, p3 = N_0x6862e4d93f64cf01(inventoryId, p2)","luaInvoke":"local retval, guid, p3 = Citizen.InvokeNative(0x6862E4D93F64CF01, inventoryId, Citizen.PointerValueInt(), p2, Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())","js":"const [retval, guid, p3] = N_0x6862e4d93f64cf01(inventoryId, p2);","jsInvoke":"const [retval, guid, p3] = Citizen.invokeNative('0x6862E4D93F64CF01', inventoryId, Citizen.pointerValueInt(), p2, Citizen.pointerValueInt(), Citizen.returnResultAnyway());","csharp":"var guid = new OutputArgument();\nvar p3 = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x6862E4D93F64CF01, inventoryId, guid, p2, p3);\n// guid.GetResult<int>()\n// p3.GetResult<int>()","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","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.","This native has no known name, so the runtime exposes it only as `N_0x6862e4d93f64cf01` (if present in the client snapshot). `InvokeNative` with the hash always works."]}}