# Installation

## Step 1: <mark style="color:blue;">Move resource</mark>

Extract the zip you downloaded from [<mark style="color:$success;">cfx.re portal</mark>](https://portal.cfx.re/assets/granted-assets) and place the <mark style="color:$success;">stg-notify</mark> folder inside the <mark style="color:$success;">\[STG]</mark> folder in your resources directory.

## Step 2: <mark style="color:blue;">Add Items</mark>

:information\_source: i**t works with** <mark style="color:$success;">all inventories</mark>**, I’ve just included a few examples.**

🖼️ **You can find the** <mark style="color:$success;">item images</mark> **inside the** <mark style="color:$success;">item-image</mark> **folder located in the** <mark style="color:$success;">\[SETUP]</mark> **directory.**

{% tabs %}
{% tab title="es\_extended " %}

```sql
INSERT INTO items (name, label)
VALUES ('nos', 'NOS');
```

{% endtab %}

{% tab title="qb-core" %}

```lua
nos = { name = 'nos', label = 'NOS', weight = 0, type = 'item', image = 'nos.png', unique = false, useable = true, shouldClose = true, description = 'NOS' },
```

{% endtab %}

{% tab title="qs-inventory" %}

```lua
nos = {
    name = 'nos',
    label = 'NOS',
    weight = 0,
    type = 'item',
    image = 'nos.png',
    unique = false,
    useable = true,
    shouldClose = true,
    description = 'NOS'
},
```

{% endtab %}

{% tab title="origen\_inventory" %}

```lua
nos = {
    name = 'nos',
    label = 'NOS',
    weight = 0,
    type = 'item',
    image = 'nos.png',
    unique = false,
    useable = true,
    shouldClose = true,
    description = 'NOS'
},
```

{% endtab %}

{% tab title="ox\_inventory" %}

```lua
["nos"] = {
    label = "NOS",
    weight = 0,
    stack = true,
    close = true,
},
```

{% endtab %}
{% endtabs %}

## Step 3: <mark style="color:blue;">Install stg\_lib</mark>

You can find it on [cfx portal](https://portal.cfx.re/assets/granted-assets) and read the installation guide [here](https://stg-store.gitbook.io/documentation/scripts/lib/installation).

## Step 4: <mark style="color:blue;">Start Script</mark>&#x20;

Start <mark style="color:$success;">\[STG]</mark> in server.cfg.

For the script to work properly, it would be better to place this at the very bottom of the scripts that are started.

```
ensure [STG]
```
