{"hash":"0xE80E50BEE276A54A","ns":"INVENTORY","name":"_GET_ITEM_SLOT_MAX_COUNT","slug":"_GET_ITEM_SLOT_MAX_COUNT","official":false,"named":true,"luaName":"GetItemSlotMaxCount","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"provision","type":"Hash"},{"name":"slotId","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/INVENTORY/_GET_ITEM_SLOT_MAX_COUNT","markdownUrl":"https://natives.borderlinerp.com/natives/INVENTORY/_GET_ITEM_SLOT_MAX_COUNT.md","snippets":{"lua":"local retval = GetItemSlotMaxCount(provision, slotId)","luaInvoke":"local retval = Citizen.InvokeNative(0xE80E50BEE276A54A, provision, slotId, Citizen.ResultAsInteger())","js":"const retval = GetItemSlotMaxCount(provision, slotId);","jsInvoke":"const retval = Citizen.invokeNative('0xE80E50BEE276A54A', provision, slotId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xE80E50BEE276A54A, provision, slotId);","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` ``.","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."]}}