> ## 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

> Ouvre un inventaire aux côtés de l'inventaire du joueur.

Ouvre un inventaire aux côtés de l'inventaire du joueur.

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

  ```lua Example theme={null}
  -- Ouvre un inventaire de type stash
  exports['jaksam_inventory']:openInventory('police_stash_1')

  -- Ouvre un inventaire de coffre
  exports['jaksam_inventory']:openInventory('car_trunk_123')
  ```
</CodeGroup>

### Paramètres

| Nom | Type de donnée | Description |
| - | - | - |
| `inventoryId` | string | L'ID de l'inventaire à ouvrir |

### Valeur de retour

Aucune. Ouvre l'interface de l'inventaire en cas de succès.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.