# SA-BOXE

This script offers you to make PolyZone where is possible to trigger an event by pressing E.

{% embed url="<https://www.youtube.com/watch?v=NwlmL-2tcYU>" %}
Preview
{% endembed %}

#### Configuration <a href="#configuration-1" id="configuration-1"></a>

{% tabs %}
{% tab title="Config" %}
{% hint style="info" %}
Here is a simple config for boxes. The box and door setup are in different files.
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/config.lua>" %}
{% endtab %}

{% tab title="Boxes" %}
{% hint style="info" %}
In boxes.lua you can manage BoxEs.
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/boxes.lua>" %}
{% endtab %}

{% tab title="Doors" %}
{% hint style="warning" %}
Here you can manage the opening of the doors by BoxE. The doors still have to be set up in qb-doorlock and also radius/distance has to be set to 0, then you can use doors.lua
{% endhint %}

{% hint style="info" %}
Anyway, BoxE is better optimized than the qb-doorlock system to control locks.

* qb-doorlock - 0,00ms idle | 0,03ms use&#x20;
* SA-BoxE - 0,00ms idle | 0,01ms use
  {% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/doors.lua>" %}
{% endtab %}

{% tab title="Events.lua (Triggers)" %}
{% hint style="info" %}
Triggers are configurable in /client/events.lua
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/events.lua>" %}
{% endtab %}

{% tab title="Notifications and locale" %}
{% hint style="info" %}
Here you can change notify system by your preferencies
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/functions.lua>" %}

{% hint style="info" %}
Here are locales
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/en.lua>" %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/cs.lua>" %}
{% endtab %}
{% endtabs %}

**Features**

* Resmon - 0.00ms idle / 0.01ms use / 0.23 PolyZone Debug mode
* Configurable - events, config
* 1 Active Thread / 3 are turn off and on
* Easy-to-Configure!

We are using Asset Escrow system
