> For the complete documentation index, see [llms.txt](https://docs-lxscripts.gitbook.io/lx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-lxscripts.gitbook.io/lx/lx-resources/lx-jobcloth.md).

# LX-JOBCLOTH

## Job-Based Outfit Changer Script

This script allows you to set up clothing shop locations in your FiveM server that are accessible based on the player's job. Players can browse clothes in these shops only if they have the right job.

### Features

* Define clothing shop locations.
* Specify allowed jobs for each shop.
* Supports multiple clothing resources (qb-clothing, illenium-appearance).
* Dynamic notifications for job and location-based access.

### Supports

* For Now Only QBCORE
* ESX Soon

### Dependencies

This script requires the following dependencies:

* [qb-core](https://github.com/qbcore-framework/qb-core)
* [qb-clothing](https://github.com/qbcore-framework/qb-clothing) or [illenium-appearance](https://github.com/iLLeniumStudios/illenium-appearance)
* [ox\_lib](https://github.com/overextended/ox_lib)

### Compatible

* [qb-clothing](https://github.com/qbcore-framework/qb-clothing)
* [illenium-appearance](https://github.com/iLLeniumStudios/illenium-appearance)
* [ox\_lib](https://github.com/overextended/ox_lib)

### Installation

1. Make sure you have the required dependencies installed on your FiveM server.
2. Download and place this script in your server's resources folder.
3. Update your server.cfg to include this resource. For example: `ensure lx-jobcloth`

### Configuration

* To configure clothing shop locations and allowed jobs, edit the config.lua file.

### Usage

* Players with allowed jobs will see a prompt near a clothing shop location.
* When they press the interaction key (default: 'E'), they can access the clothing shop menu.
* Players without the right job will receive an error notification.

### Preview

{% embed url="<https://youtu.be/8Uvx5ZQ3m0U>" %}

### Purchase

* You can claim this script on [Tebex](https://lxstore.tebex.io/) for free . Look for "LX-JOBCLOTH" to get this script.

### Support

* For immediate assistance and community support, join our [Discord server](https://discord.gg/wYnkSZR33j) .
