{"hash":"0x5D6182F3BCE1333B","ns":"INVENTORY","name":"_INVENTORY_REMOVE_INVENTORY_ITEMS","slug":"_INVENTORY_REMOVE_INVENTORY_ITEMS","official":false,"named":true,"luaName":"InventoryRemoveInventoryItems","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"inventoryId","type":"int"},{"name":"removeReason","type":"Hash"}],"summary":"Only used in R* SP Scripts","descriptions":[{"source":"alloc8or","format":"text","body":"removeReason: REMOVE_REASON_DEFAULT (eRemoveItemReason)\nExample: INVENTORY::_0x5D6182F3BCE1333B(1, joaat(\"REMOVE_REASON_DEFAULT\")); -> clears weapon wheel\nOnly used in R* SP Scripts"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_REMOVE_INVENTORY_ITEMS","markdownUrl":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_REMOVE_INVENTORY_ITEMS.md","snippets":{"lua":"local retval = InventoryRemoveInventoryItems(inventoryId, removeReason)","luaInvoke":"local retval = Citizen.InvokeNative(0x5D6182F3BCE1333B, inventoryId, removeReason, Citizen.ReturnResultAnyway())","js":"const retval = InventoryRemoveInventoryItems(inventoryId, removeReason);","jsInvoke":"const retval = Citizen.invokeNative('0x5D6182F3BCE1333B', inventoryId, removeReason, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x5D6182F3BCE1333B, inventoryId, removeReason);","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."]}}