# Tuning System

## INSTALLATION

### 1.  Resource Download

\
**To get started, you'll need to download your new resource previously purchased from** [**shop**](/docs/overview/website-shop.md)**.** For that we must log in with our account at [`keymaster`](https://keymaster.fivem.net/asset-grants/) and look for the Asset grants section, there we will find our complete package.

{% hint style="info" %}
To get updates you get them from the same website ([keymaster](https://keymaster.fivem.net/asset-grants)).
{% endhint %}

### 2. Unzip The Folder

Unzip the script folder than **copy `"stoned-tuning"`** and **paste** it on your server **resources folder**.

<figure><img src="/files/DGfaJwNfvvadhd8iOdwY" alt=""><figcaption></figcaption></figure>

### 3. Ensure

Put this line in your server.cfg.

{% hint style="warning" %}
This should be under your essentials resources.
{% endhint %}

```
ensure stoned-tuning
```

## CONFIGURATION

### 1. Setup Framework

*stoned-tuning\shared\main.lua*

* Choose your framwork here:

&#x20;

<figure><img src="/files/zrwpYq61baFiXFS5Mnj3" alt=""><figcaption></figcaption></figure>

### 2. Configure each tuning location:

*stoned-tuning\shared\main.lua*

* Coords;
* Marker type (by id);
* Label for blip (map) and interface title;
* You can decide whether access is restricted to jobs or for all players;
* From which balance will the money be removed (job/society or the player's bank/money).

<figure><img src="/files/gcf11bCskwuqTffZJJ8G" alt=""><figcaption></figcaption></figure>

### 3. Configure specific tunings

*stoned-tuning\shared\tunes.lua*

* Img
* Price
* and other details...

<figure><img src="/files/yj1WUbhXQq0QjNhmDfKu" alt=""><figcaption></figcaption></figure>

### 4. Setup your webhook & log

*stoned-tuning\server\webhook.lua*

<figure><img src="/files/uJIbeJYDEZ3mGml1UYyu" alt=""><figcaption></figcaption></figure>


---

# 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://loureiro-stoned.gitbook.io/docs/tuning-system.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.
