# 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) .


---

# 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://docs-lxscripts.gitbook.io/lx/lx-resources/lx-jobcloth.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.
