> For the complete documentation index, see [llms.txt](https://stg-store.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stg-store.gitbook.io/documentation/scripts/vanaheim-fuel/installation.md).

# 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-vanaheimfuel</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-images</mark> **folder located in the** <mark style="color:$success;">\[SETUP]</mark> **directory.**

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

```sql
INSERT INTO items (name, label)
VALUES 
    ('jerrycan', 'Jerrycan'),
    ('fuel_siphon', 'Fuel Siphon'),
    ('fuel_siphon_full', 'Fuel Siphon (Full)'),
    ('empty_jerrycan', 'Empty Jerrycan');
```

{% endtab %}

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

```lua
jerrycan = {
    name = 'jerrycan',
    label = 'Jerrycan',
    weight = 2000,
    type = 'item',
    image = 'jerrycan.png',
    unique = false,
    useable = true,
    shouldClose = true,
    description = 'Portable fuel container'
},

fuel_siphon = {
    name = 'fuel_siphon',
    label = 'Fuel Siphon',
    weight = 500,
    type = 'item',
    image = 'fuel_siphon.png',
    unique = false,
    useable = true,
    shouldClose = true,
    description = 'Used to siphon fuel from vehicles'
},

fuel_siphon_full = {
    name = 'fuel_siphon_full',
    label = 'Fuel Siphon (Full)',
    weight = 1500,
    type = 'item',
    image = 'fuel_siphon_full.png',
    unique = false,
    useable = true,
    shouldClose = true,
    description = 'Fuel siphon filled with gasoline'
},

empty_jerrycan = {
    name = 'empty_jerrycan',
    label = 'Empty Jerrycan',
    weight = 500,
    type = 'item',
    image = 'empty_jerrycan.png',
    unique = false,
    useable = true,
    shouldClose = true,
    description = 'Empty portable fuel container'
},
```

{% endtab %}

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

```lua
["jerrycan"] = {
	label = 'Jerrycan',
	weight = 2000,
	stack = true,
	close = true,
},

["fuel_siphon"] = {
	label = 'Fuel Siphon',
	weight = 500,
	stack = true,
	close = true,
},

["fuel_siphon_full"] = {
	label = 'Fuel Siphon (Full)',
	weight = 1500,
	stack = true,
	close = true,
},

["empty_jerrycan"] = {
	label = 'Empty Jerrycan',
	weight = 500,
	stack = true,
	close = true,
},
```

{% endtab %}
{% endtabs %}

## Step 3: <mark style="color:blue;">Install SQL</mark>

Perform the installation of <mark style="color:$success;">stg\_vanaheimfuel.sql</mark> in the <mark style="color:$success;">\[SETUP]</mark> directory.

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

You can download stg\_lib [here](https://stgscripts.com/bundles/lib-system) and read the installation guide [here](/documentation/scripts/lib/installation.md).

## Step 5: <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]
```
