> For the complete documentation index, see [llms.txt](https://piotreq-scripts.gitbook.io/piotreq-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://piotreq-scripts.gitbook.io/piotreq-scripts/assets-and-guides/helper/exports.md).

# Exports

## showHelper

With this export you can show helper for player.

{% tabs %}
{% tab title="Client Side" %}

* data `table: [table: [keys: string[], label: string]]`

```lua
exports['p_helper']:showHelper(data)
```

{% endtab %}
{% endtabs %}

### Example of Usage

```lua
exports['p_helper']:showHelper({
  {
      keys = {'X'},
      label = 'Cancel'
  },
  {
      keys = {'A', 'D'},
      label = 'Left / Right'
  },
  {
      keys = {'E'},
      label = 'Confirm'
  },
})
```

***

## hideHelper

With this export you can hide helper for player

{% tabs %}
{% tab title="Client Side" %}

```lua
exports['p_helper']:hideHelper()
-- THIS WILL CLOSE HELPER IF IS VISIBLEE
```

{% endtab %}
{% endtabs %}
