> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Open inventory

> Öffnet ein Inventar neben dem Inventar des Spielers.

Öffnet ein Inventar neben dem Inventar des Spielers.

<CodeGroup>
  ```lua Export theme={null}
  exports['jaksam_inventory']:openInventory(inventoryId)
  ```

  ```lua Example theme={null}
  -- Ein Stash-Inventar öffnen
  exports['jaksam_inventory']:openInventory('police_stash_1')

  -- Ein Kofferraum-Inventar öffnen
  exports['jaksam_inventory']:openInventory('car_trunk_123')
  ```
</CodeGroup>

### Parameter

| Name          | Datentyp | Beschreibung                      |
| ------------- | -------- | --------------------------------- |
| `inventoryId` | string   | Die ID des zu öffnenden Inventars |

### Rückgabewert

Keiner. Öffnet bei Erfolg die Inventar-UI.


## Related topics

- [Force open inventory](/de/jaksam-inventory/functions/server/force-open-inventory.md)
- [Action Buttons](/de/jaksam-inventory/guides/action-buttons.md)
- [Client](/de/jaksam-inventory/functions/client/index.md)
- [Server](/de/jaksam-inventory/functions/server/index.md)
- [Is inventory open](/de/jaksam-inventory/functions/client/is-inventory-open.md)
