# C Inventory

### ❗ Known Issues & Solutions

Here you'll find common issues users may encounter with **C Inventory**, along with their solutions and setup tips.

***

#### 📁 Item Images Not Showing

**Problem:**\
Item images are not visible in the inventory.

**Solution:**\
Make sure your item icons are placed in the following directory:\
`c_inventory/web/assets/icons`

**Recommended Resolution:**\
Use icons with a **256x256** pixel resolution for best quality.

***

#### 🎮 Hotbar Not Visible

**Problem:**\
The hotbar doesn't show up in-game.

**Solution:**\
Ensure the hotbar is enabled in your config.\
Open `config.lua` and set:

```lua
luaKopierenBearbeitenConfig.Hotbar = true -- Enables the hotbar
```

Set to `false` if you want to disable it.

***

#### ⚙️ getSharedObject Error (ESX Issue)

**Problem:**\
You're seeing errors related to `getSharedObject` when starting the script.

**Solution:**\
Make sure the correct ESX version compatibility is set in your config:

```lua
luaKopierenBearbeitenConfig.new_esx = false -- for legacy ESX (below 1.2)
Config.new_esx = true  -- for ESX 1.2 and above
```

Set this based on your framework version.

<figure><img src="/files/QlyqTiiqyr3Mb08tS16l" alt="" width="125"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://c-service.gitbook.io/c-service-docs/v1/inventory.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
