> For the complete documentation index, see [llms.txt](https://kierandev.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kierandev.gitbook.io/documentation/tmc-resources/test-drive/config-options.md).

# Config Options

## Debug

```lua
-- Debug prints
Config.Debug = true
```

## UI Colour

```lua
-- Test drive UI Colour
Config.UiColor = "#b700ff"
```

## Routing Bucket

```lua
-- If the player doing the test drive is in there own routing bucket
Config.UseRoutingBucket = true
```

## Ped Settings

```lua
-- Ped configuration
Config.TestDrivePed = {
    Model = "a_m_y_smartcaspat_01",
    Coords = vector4(-762.449, -2229.996, 4.789093, 1.1986011), 
    Radius = 1.5,
    Scenario = "WORLD_HUMAN_CLIPBOARD",
    Blip = {
        Enabled = false,
        Label = "Vehicle Test Drive",
        Sprite = 280, 
        Color = 3,
        Size = 1
    }
}
```

## Vehicle Spawn

```lua
-- Vehicle spawn coords
Config.SpawnCoords = vector4(-763.8729, -2215.463, 6.0036096, 267.07922)
```

## Return Location

```lua
-- Return coords when the test drive ends
Config.ReturnCoords = vector4(-762.503, -2227.971, 5.7860417, 1.3306767)
```

## Test Drive Duration

```lua
-- Duration of the test drive in seconds
Config.TestDriveTime = 120 
```

## Vehicle List

```lua
-- Vehicle table that can be test driven.
Config.Vehicles = {
    { label = "Pace 5R", model = "pace_5r" },
    { label = "Zentorno", model = "zentorno" },
    { label = "Jester RR", model = "jester4" },
    { label = "Bati 801 Motorbike", model = "bati" }
    -- Add / Remove as many ass you want
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://kierandev.gitbook.io/documentation/tmc-resources/test-drive/config-options.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.
