> For the complete documentation index, see [llms.txt](https://laot7490.gitbook.io/ltbridge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://laot7490.gitbook.io/ltbridge/game-systems/inventory.md).

# Inventory

Manage player items with one API — add, remove, check counts, and read metadata. Works across ox\_inventory, qb-inventory, qs-inventory, and more.

## Supported resources

* `ox_inventory`
* `qs-inventory`
* `qb-inventory`
* `tgiann-inventory`
* `origen_inventory`
* `one_inventory`

## Functions

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>AddItem</strong></td><td>Add item to player.</td><td><a href="/pages/4sBY6grcdVzxZ9fLXEPp">/pages/4sBY6grcdVzxZ9fLXEPp</a></td></tr><tr><td><strong>CanCarryItem</strong></td><td>Check if player can carry item.</td><td><a href="/pages/GRhutdzLgRsQCadjtlKn">/pages/GRhutdzLgRsQCadjtlKn</a></td></tr><tr><td><strong>GetItemBySlot</strong></td><td>Returns the specified slot item data as a table.</td><td><a href="/pages/WpqkqiOnULSJRiYkwGcC">/pages/WpqkqiOnULSJRiYkwGcC</a></td></tr><tr><td><strong>GetItemCount</strong></td><td>Returns count of items on players inventory. If there is none returns 0.</td><td><a href="/pages/VMG0tLa4VdpygVaffhiv">/pages/VMG0tLa4VdpygVaffhiv</a></td></tr><tr><td><strong>GetItemImage</strong></td><td>Returns item image path.</td><td><a href="/pages/yKrWuPKRwEJA60rRt2Xv">/pages/yKrWuPKRwEJA60rRt2Xv</a></td></tr><tr><td><strong>GetItemInfo</strong></td><td>Returns item info as a table.</td><td><a href="/pages/jDOASSQ444Z1mhCbyJrS">/pages/jDOASSQ444Z1mhCbyJrS</a></td></tr><tr><td><strong>GetPlayerInventory</strong></td><td>Returns player inventory as table.</td><td><a href="/pages/ydoPz61MqHjNyVLR2zyy">/pages/ydoPz61MqHjNyVLR2zyy</a></td></tr><tr><td><strong>GetResource</strong></td><td>Returns inventory resource name.</td><td><a href="/pages/DElV65qswucnSLOf1H5s">/pages/DElV65qswucnSLOf1H5s</a></td></tr><tr><td><strong>HasItem</strong></td><td>Check if player has item.</td><td><a href="/pages/SoYEsUDEZL3meGeWkoml">/pages/SoYEsUDEZL3meGeWkoml</a></td></tr><tr><td><strong>RemoveItem</strong></td><td>Remove item from player.</td><td><a href="/pages/ET2nsvCuClerAb4NGO4z">/pages/ET2nsvCuClerAb4NGO4z</a></td></tr><tr><td><strong>SetItemMetadata</strong></td><td>Set/change metadata of item.</td><td><a href="/pages/19IOBFfjRIxYweKb5i96">/pages/19IOBFfjRIxYweKb5i96</a></td></tr><tr><td><strong>SetResource</strong></td><td>Force set inventory resource.</td><td><a href="/pages/OFE45cV8R4JCMjIYTu5t">/pages/OFE45cV8R4JCMjIYTu5t</a></td></tr></tbody></table>
