# Installation

## 📥 Installation

Follow these steps to install **Imperium Used Cars Dealership** on your server.

#### 1. License Validation

This script uses the **FiveM Escrow System**.

* Log in to your [**CFX Portal**](https://keymaster.cfx.re/) account.
* Go to **"Granted Assets"** and make sure `is-used-cars`is listed.\
  \&#xNAN;*If it is not listed, you must purchase the script here:* [*Imperium Selldrugs on Tebex*](https://imperium-scripts.tebex.io/package/7254600)
* Ensure your server is running with a license key linked to this CFX account.

#### 2. Upload Resource

* Download the script and extract the folder.
* Place the folder named `is-used-cars`into your server's `resources` directory.
* **Important:** Do not rename the folder; it must remain `is-used-cars`.

#### 3. Server Configuration

Add the following line to your `server.cfg`:

```cfg
ensure is-used-cars
```

#### 4. Setup & Database

* The SQL file will run automatically and is located in the `__install__` folder.
* In order to create the job / esx\_society execute the `install.sql` manually !
* Configure `config.lua` to adjust settings (Framework, Locations, Prices).
* Restart your server to apply all changes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://imperiumscripts.gitbook.io/imperium-scripts/scripts/imperium-used-cars-dealerships/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
