> For the complete documentation index, see [llms.txt](https://zloma-scripts.gitbook.io/zloma-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zloma-scripts.gitbook.io/zloma-scripts/zloma_garages-paid/features/impound-system.md).

# Impound System

zloma\_garages includes three types of impound systems, each serving different purposes.

***

## Personal Impound

Handles destroyed or lost vehicles. The default "catch-all" impound.

**When vehicles go here:**

* Vehicle destroyed in the world
* Server restart with `Config.VehicleTracking.restartImpound = true`
* Max persistent respawn attempts reached (if `impoundOnMaxAttempts = true`)
* Vehicle orphaned without a garage

**Retrieval:**

* Player visits the personal impound location
* Selects vehicle from list
* Pays retrieval fee (if configured)
* Vehicle spawns at impound spawn point

**Fees:**

* Each impound can have a configurable retrieval fee
* Fee can be customized via `CalculateImpoundFee()` in `sv_customization.lua`
* Fees go to society accounts if `Config.ImpoundSocietyPayment` is enabled

***

## Organization Impound

Dedicated impound for organization vehicles.

**When vehicles go here:**

* Organization vehicles destroyed or lost
* Manual impound by organization members

**Access:**

* Only members of the relevant organization can retrieve vehicles
* Shared org impound: any org of the same type (job/gang) has access
* Grade restrictions apply

**Features:**

* Separate from personal impound
* Organization boss can manage all impounded vehicles
* Supports grade-based access control

***

## Police Impound

Full-featured police impound with timers, fines, and early release.

**Who can impound:**

* Players with a job listed in `Config.PoliceJobs`
* Must meet minimum grade requirement (configurable per job)
* Uses `/impoundvehicle` command or target option on nearby vehicle

**Impound Process:**

1. Police officer approaches a vehicle
2. Uses `/impoundvehicle` or target option
3. Dialog opens with options:
   * **Duration** — 15 minutes to permanent
   * **Base Fee** — Release fee after duration expires
   * **Early Release Fee** — Additional fee for immediate release
   * **Reason** — Text description of why impounded
4. Vehicle is deleted from world and marked as police impounded
5. Owner is notified

**Duration Options:**

| Duration   | Description             |
| ---------- | ----------------------- |
| 15 minutes | Short hold              |
| 30 minutes | Medium hold             |
| 1 hour     | Standard                |
| 2 hours    | Extended                |
| 6 hours    | Long hold               |
| 12 hours   | Overnight               |
| 24 hours   | Full day                |
| 48 hours   | Weekend                 |
| 72 hours   | Extended weekend        |
| 1 week     | Week-long               |
| Permanent  | Until manually released |

**Retrieval (Owner):**

* Visit police impound location
* If duration expired → pay base fee
* If duration not expired → pay base fee + early release fee
* Timer countdown shown in UI

**Retrieval (Admin):**

* `/retrieveimpounded <plate>` — force retrieves a specific vehicle
* `/retrieveimpounded ALL` — force retrieves all impounded vehicles

**Tracking:**

* `pd_impound_count` tracks how many times a vehicle has been police impounded
* All police impound actions logged to Discord (separate webhook)

**Fee Limits:**

* Maximum fee controlled by `Config.PoliceImpoundMaxFee` (default: 500,000)

**Society Payments:**

* Impound fees distributed to society accounts configured in `Config.ImpoundSocietyPayment`


---

# 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://zloma-scripts.gitbook.io/zloma-scripts/zloma_garages-paid/features/impound-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.
