# Installation

## Installations

Remember that this resource has verified DMCA protection, and its illegal use or distribution could imply a claim for protection of Title 17 of Chapter 512 (c) (3) of the Digital Millennium Copyright​

<figure><img src="https://1756097748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBIAlvKhIaVfb25DAxzvq%2Fuploads%2FzgKmZLd41Zk5pRPmw1Zn%2FDMCA.png?alt=media&#x26;token=b910a819-704e-4f6b-a966-e97d4eafcfee" alt=""><figcaption></figcaption></figure>

## STEP 1 - Download <a href="#step-1-download" id="step-1-download"></a>

Download the **Armour-Tuning / Remapping** asset from your cfx.re [**keymaster**](https://keymaster.fivem.net/).​

***

## **STEP 2 - Installation** <a href="#step-2-installation" id="step-2-installation"></a>

### Script <a href="#script" id="script"></a>

1. Open **`[EXTRACT ME]`**.
2. Move the **Armour-Tuning** script into your resource folder.
3. Open your **`server.cfg`** and add **`ensure Armour-Tuning`** to your resource starting list.

### Image <a href="#image" id="image"></a>

1. 1.Open **`[INVENTORY IMAGE]`** and copy the image.
2. 2.Go to your inventory script and paste it in **`images`** folder.

### Item <a href="#item" id="item"></a>

#### **SQL:**

If you are using an inventory that requires you to add the items to a table in your database then follow the steps below:

1. Open your database.
2. Run the provided **`items.sql`**

#### **FILE:**

If you are using an inventory that requires you to add the items to an **`items.lua`** or **`shared.lua`**, then follow the guild below

1. Open your **`items.lua`** folder.
2. Choose one of the snippets that I have provided below.
3. Copy the snippet and paste it at the bottom of your **`items.lua`** folder.

#### Snippet 1:

```
["remapping_tablet"] = {
["name"] = "remapping_tablet",
["label"] = "Dodgy Tablet",
["weight"] = 7000,
["type"] = "item",
["image"] = "remapping_tablet.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "A tablet, it looks like a vehicle tuning tablet but I could be wrong..."},
```

#### Snippet 2: <a href="#step-3-configuration" id="step-3-configuration"></a>

```
["remapping_tablet"] = {["name"] = "remapping_tablet",["label"] = "Dodgy Tablet",["weight"] = 7000,["type"] = "item",["image"] = "remapping_tablet.png",["unique"] = false,["useable"] = true,["shouldClose"] = true,["combinable"] = nil,["description"] = "A tablet, it looks like a vehicle tuning tablet but I could be wrong..."},
```

***

## **STEP 3 - Configuration** <a href="#step-3-configuration" id="step-3-configuration"></a>

You will see the following contents inside the **Armour-Tuning / Remapping** folder:

* **client** – _(escrowed and cannot be modified)_
* **config**
* **html**
* **server** – _(contains `config_webhook.lua`)_
* `.fxap`
* `fxmanifest.lua`

#### Config Folder <a href="#config-folder" id="config-folder"></a>

1. Open your **config** folder and open the file called **`config.lua`**.

**`config.lua`:**

<figure><img src="https://1756097748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBIAlvKhIaVfb25DAxzvq%2Fuploads%2FspwAIgyqrendahqKGhI0%2FScreenshot_165.png?alt=media&#x26;token=e93e7047-a99b-46a2-96f8-e3c95b9e78f6" alt=""><figcaption><p>Click the image for a clearer view</p></figcaption></figure>

2. Configure your `Config.lua` according to your needs.

**`config_framework.lua`:**

<figure><img src="https://1756097748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBIAlvKhIaVfb25DAxzvq%2Fuploads%2FQx1c8ETS9W3rp3QJlxqi%2FScreenshot_166.png?alt=media&#x26;token=d7fa797d-f669-424a-b8d0-931719bda182" alt=""><figcaption><p>Click the image for a clearer view</p></figcaption></figure>

3. Configure your **`config_framework.lua`** according to your needs.​

***

### Webhooks <a href="#webhooks" id="webhooks"></a>

1. Go into the **`Server`** folder and then open the **`Webhooks`** folder.
2. Open **`config_webhook.lua`**.

<figure><img src="https://1756097748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBIAlvKhIaVfb25DAxzvq%2Fuploads%2Fg7CWOxWbouq91K13OmSi%2FScreenshot_167.png?alt=media&#x26;token=b5975f8b-c910-4cb2-b7e5-fc708b7532a0" alt=""><figcaption><p>Click the image for a clearer view</p></figcaption></figure>

3. Configure your **`config_webhook.lua`** according to your needs.​
