# Installation

## Step 1. Download lvs\_weazelnews package

Download the lvs\_weazelnews package from your keymaster. \
The best way to place the downloaded files is by creating a folder `[lvs]` in `resources`, where you can put all the scripts related to this <mark style="color:blue;">**LVS Store.**</mark>

***

## Step 2. Install dependencies <a href="#install-dependencies" id="install-dependencies"></a>

Install the dependencies if they are not installed.

| ox\_lib        | <https://github.com/overextended/ox_lib> |
| -------------- | ---------------------------------------- |
| lvs\_bridge    | Included in the package                  |
| lvs\_interact  | Included in the package                  |
| lvs\_npcdialog | Included in the package                  |
| lvs\_elevators | Included in the package                  |

{% hint style="danger" %}
Please note that the script requires `lvs_interact` and `lvs_npcdialog`. You can set up any interaction you desire; the events are available in the configuration file. We can assist you with integration to other script, but we won't do it for you.
{% endhint %}

{% hint style="info" %}
Download this assets : [link](https://www.mediafire.com/file/tbr8u4o5luuq9l8/%5Bweazel%5D.rar/file)
{% endhint %}

***

## Step 3. Config <a href="#step-5" id="step-5"></a>

Now configure and translate your resources.

<details>

<summary>Config files</summary>

`config/config.lua`\
`config/dialog.lua`\
`config/garage.lua`\
`config/task.lua`

</details>

***

## Step 4. Start the script (server.cfg) <a href="#add-it-to-your-server" id="add-it-to-your-server"></a>

In the `server.cfg` file, you need to start or ensure the scripts

```editorconfig
ensure qb-core
# ... some others
start ox_lib
# lvs_bridge should go right after ensure the framework resource and before any other LVS scripts
start lvs_bridge
start lvs_lib
start lvs_interact
start lvs_npcdialog
start lvs_elevators
# ... some others
start lvs_weazelnews # ... or ensure [lvs]

```

***

## ESX Framework

{% hint style="info" %}
In **ESX framework**, you need to create the job and the ranks. If you don't know how to do it, in the install folder you can find the .sql file with the queries. Remember to configure the script with the number of ranks you create
{% endhint %}

***
