> For the complete documentation index, see [llms.txt](https://quannsstudios.gitbook.io/quannsstudio-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quannsstudios.gitbook.io/quannsstudio-docs/advanced-garages/configuration.md).

# Configuration

**Configuration** All configuration lives in `config.lua`.

**Full Config**

lua

```lua
Config.TextUI       = 'qs'       -- 'qs' for Qs_TextUI, or 'ox' for ox_lib
Config.InteractDist = 3.0        -- metres to trigger text UI prompt
Config.ImpoundFee   = 500        -- $ to retrieve from impound (0 = free)

Config.MarkerType  = 1
Config.MarkerColor = { r = 229, g = 57,  b = 53,  a = 120 }
Config.MarkerSize  = { x = 1.2, y = 1.2, z = 0.5 }

Config.ImpoundMarkerColor = { r = 255, g = 152, b = 0, a = 120 }
```

**Options**

| Option                      | Description                                                             |
| --------------------------- | ----------------------------------------------------------------------- |
| `Config.TextUI`             | Set to `qs` for Qs\_TextUI or `ox` for ox\_lib                          |
| `Config.InteractDist`       | Distance in metres before the interact prompt appears                   |
| `Config.ImpoundFee`         | Fee in dollars to retrieve a vehicle from impound — set to `0` for free |
| `Config.MarkerType`         | GTA marker type ID for garage zones                                     |
| `Config.MarkerColor`        | RGBA color of the garage marker                                         |
| `Config.MarkerSize`         | X, Y, Z scale of the garage marker                                      |
| `Config.ImpoundMarkerColor` | RGBA color of the impound marker                                        |

**Setting Up a Garage**

1. Log in as admin and run `/garage`
2. Go to **Create Garage**
3. Fill in the name and select the garage type (Public, Private, or Impound)
4. Use the **Set Pos** buttons to capture coordinates in-game — the UI closes, walk to the spot, press **E**
5. Set separate enter and store locations if needed
6. Save — blips will appear on the map automatically

**Impound System** Officers with the `police` or `ems` job can run `/impound` to impound the nearest vehicle. The full impound form lets you set a reason, fee, lock duration, and whether the vehicle is retrievable at all.

**Tow Script Integration** Trigger impounds from external tow scripts using the server event or export:

lua

```lua
-- Event
TriggerEvent('QsGarage:towImpound', plate, reason, fee)

-- Export
exports['QuansGarage']:impoundVehicle(plate, reason, fee, retrievable, hoursLocked)
```


---

# 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, and the optional `goal` query parameter:

```
GET https://quannsstudios.gitbook.io/quannsstudio-docs/advanced-garages/configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
