# Installation

{% tabs %}
{% tab title="ESX" %}

1. Download the [dependencies](/lunar-scripts/paid-scripts/lunar_truckerjob/dependencies.md) and make sure they are properly installed.
2. Download `lunar_truckerjob` from your [keymaster](https://keymaster.fivem.net/asset-grants), extract it to the resources folder and ensure it inside server.cfg after all of the dependencies.
3. Import this SQL into your database:

   <pre class="language-sql"><code class="lang-sql"><strong>INSERT INTO `jobs` (`name`, `label`) VALUES
   </strong>('trucker', 'Trucker');

   INSERT INTO `job_grades` (`job_name`, `grade`, `name`, `label`, `salary`, `skin_male`, `skin_female`) VALUES
   ('trucker', 0, 'employee', 'Employee', 100, '{}', '{}');
   </code></pre>
4. Configure the script to your liking.
5. Use this in server.cfg to change the locale: `setr ox:locale en`
6. Restart your server and enjoy!
   {% endtab %}

{% tab title="QBCore/QBox" %}

1. Download the [dependencies](/lunar-scripts/paid-scripts/lunar_truckerjob/dependencies.md) and make sure they are properly installed.
2. Download `lunar_truckerjob` from your [keymaster](https://keymaster.fivem.net/asset-grants), extract it to the resources folder and ensure it inside server.cfg after all of the dependencies.
3. Add this job inside qb-core/shared/jobs.lua:

   ```lua
   ['trucker'] = {
   	label = 'Trucker',
   	defaultDuty = true,
   	grades = {
   		['0'] = {
   			name = 'Employee',
   			payment = 100
   		}
   	}
   }
   ```
4. Configure the script to your liking.
5. Use this in server.cfg to change the locale: `setr ox:locale en`
6. Restart your server and enjoy!
   {% endtab %}
   {% endtabs %}


---

# 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://lunar-scripts.gitbook.io/lunar-scripts/paid-scripts/lunar_truckerjob/installation.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.
