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

# Exports & Events

It exports events only for heists progress status.

{% hint style="info" %}
If you need further assistance, you can get in touch with us through our [Discord](https://discord.gg/Nm5FSxK2gv)
{% endhint %}

## Exports

This export will work both <mark style="color:red;">server-side</mark> and <mark style="color:blue;">client-side</mark>.

<pre class="language-lua"><code class="lang-lua"><strong>-- Heist name: For example, "storerobbery". This name should be given in the configuration.
</strong><strong>-- state - boolean 
</strong><strong>exports['g-scoreboardV2']:SetHeistAvailability(heistname, true)
</strong></code></pre>

## Events

This event will work <mark style="color:red;">server-side</mark>&#x20;

<pre class="language-lua"><code class="lang-lua">-- Heist name: For example, "storerobbery". This name should be given in the configuration.
-- state - boolean 
<strong>TriggerEvent('g-scoreboardv2:SetHeistAvailability', heistname, true)
</strong></code></pre>
