> For the complete documentation index, see [llms.txt](https://fivem.lvsoft.com.ar/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivem.lvsoft.com.ar/qb-esx/lvs-clothing/installation/esx-install.md).

# ESX Install

## Step 1. Remove Old Clothing Resources <a href="#remove-old-clothing-resources" id="remove-old-clothing-resources"></a>

Delete the following from your resources folders:

* illenium-appearance
* esx\_skin
* skinchanger
* esx\_barbershop
* esx\_clotheshop
* esx\_accessories
* any tattoo shop resources e.g., `esx_tattooshop`

{% hint style="warning" %}
If you are migrating from illenium-appearance, you can skip these steps and jump to the [migration section](/qb-esx/lvs-clothing/migration/illenium-appareance.md)
{% endhint %}

***

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

Install the dependencies if they are not installed.

| oxmysql | <https://github.com/overextended/oxmysql> |
| ------- | ----------------------------------------- |
| ox\_lib | <https://github.com/overextended/ox_lib>  |

***

## Step 3. Download lvs\_clothing <a href="#download-illenium-appearance" id="download-illenium-appearance"></a>

Drag And Drop, put `lvs_clothing` in `resources` folder

***

## Step 4. SQL <a href="#add-it-to-your-server" id="add-it-to-your-server"></a>

Run the **database.sql** file located in the resource folder in your database! Or execute the SQL:

```sql
CREATE TABLE IF NOT EXISTS `player_outfits` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `citizenid` varchar(50) DEFAULT NULL,
    `outfitname` varchar(50) NOT NULL DEFAULT '0',
    `tags` varchar(50) DEFAULT NULL DEFAULT 'No Tags',
    `model` varchar(50) DEFAULT NULL,
    `props` varchar(1000) DEFAULT NULL,
    `components` varchar(1500) DEFAULT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `citizenid_outfitname_model` (`citizenid`,`outfitname`,`model`),
    KEY `citizenid` (`citizenid`)
    ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
```

***

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

Now configure and translate your resource.

<details>

<summary>Config files</summary>

`/config/config.lua`\
`/config/blacklist.lua`\
`/config/cloakroom.lua`\
`/config/peds.lua`\
`/config/stores.lua`\
`/config/target.lua`\
`/config/tattoos.lua`\
`/config/ui.lua`

</details>

***

## Step 6. Script initiate <a href="#step-6" id="step-6"></a>

Start the script in **server.cfg** , `ensure lvs_clothing.`
