# qb-truckerjob

## Introduction

* Allows players to rent a van from the warehouse and deliver packages to preset locations. With each delivery there's a chance they will get a cryptostick. Read more about those in[qb-crypto](/qbcore-documentation/qbcore-resources/qb-crypto.md)

{% hint style="success" %}
This job is setup to restock random stores around the map as players complete deliveries!
{% endhint %}

## Configuration

### General

```lua
Config.BailPrice = 250 -- vehicle rental price

Config.Vehicles = { --Vehicles the job can rent to start their route
    ["rumpo"] = "Dumbo Delivery",
}
```

### Delivery locations

{% hint style="danger" %}
If you want this job to restock the stores, make sure the name inside the stores table matches the index name in [qb-shops](/qbcore-documentation/qbcore-resources/qb-shops.md)
{% endhint %}

```lua
Config.Locations = {
    ["main"] = {
        label = "Truck Shed", -- map blip name
        coords = vector4(153.68, -3211.88, 5.91, 274.5), -- map blip location
    },
    ["vehicle"] = {
        label = "Truck Storage", -- map blip name
        coords = vector4(141.12, -3204.31, 5.85, 267.5), -- map blip location
    },
    ["stores"] ={
        [1] = {
            name = "ltdgasoline", -- store name referenced to qb-shops
            coords = vector4(-41.07, -1747.91, 29.4, 137.5), -- interact location
        },
        [2] = {
            name = "247supermarket",
            coords = vector4(31.62, -1315.87, 29.52, 179.5),
        },
    },
}
```


---

# 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.qbcore.org/qbcore-documentation/qbcore-resources/qb-truckerjob.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.
