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

> Abre un inventario junto al inventario del jugador.

Abre un inventario junto al inventario del jugador.

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

  ```lua Example theme={null}
  -- Abre un inventario de tipo stash
  exports['jaksam_inventory']:openInventory('police_stash_1')

  -- Abre un inventario de maletero
  exports['jaksam_inventory']:openInventory('car_trunk_123')
  ```
</CodeGroup>

### Parámetros

| Nombre | Tipo de dato | Descripción |
| - | - | - |
| `inventoryId` | string | El ID del inventario a abrir |

### Valor de retorno

Ninguno. Abre la interfaz del inventario si tiene éxito.


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