{"hash":"0x766315A564594401","ns":"INVENTORY","name":"_INVENTORY_DISABLE_ITEM","slug":"_INVENTORY_DISABLE_ITEM","official":false,"named":true,"luaName":"InventoryDisableItem","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"inventoryId","type":"int"},{"name":"item","type":"Hash"},{"name":"gtxReason","type":"Hash"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"Example: (1, WEAPON_REVOLVER_CATTLEMAN, 0) - disables cattleman revolver on weapon wheel"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_DISABLE_ITEM","markdownUrl":"https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_DISABLE_ITEM.md","snippets":{"lua":"InventoryDisableItem(inventoryId, item, gtxReason)","luaInvoke":"Citizen.InvokeNative(0x766315A564594401, inventoryId, item, gtxReason)","js":"InventoryDisableItem(inventoryId, item, gtxReason);","jsInvoke":"Citizen.invokeNative('0x766315A564594401', inventoryId, item, gtxReason);","csharp":"Function.Call((Hash)0x766315A564594401, inventoryId, item, gtxReason);","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."]}}