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

# Show action button

> Rend visible un bouton d'action précédemment caché dans l'interface de l'inventaire.

Rend visible un bouton d'action précédemment caché dans l'interface de l'inventaire.

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

  ```lua Example theme={null}
  -- Affiche un bouton qui avait été enregistré comme caché
  exports['jaksam_inventory']:showActionButton('police_actions')

  -- Affiche le bouton quand le joueur obtient un job spécifique
  AddEventHandler('esx:setJob', function(job)
      if job.name == 'police' then
          exports['jaksam_inventory']:showActionButton('police_actions')
      end
  end)
  ```
</CodeGroup>

### Paramètres

| Nom | Type de donnée | Description |
| - | - | - |
| `id` | string | L'identifiant unique du bouton à afficher |

### Valeur de retour

Aucune.


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