> 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/garage-types.md).

# Garage Types

zloma\_garages supports four distinct garage types, each with different behavior and access rules.

***

## Private

Personal garages owned by individual players.

**Key Features:**

* Only the owner can access their vehicles
* Supports vehicle sharing (see [Shared Access](/zloma-scripts/zloma_garages-paid/features/shared-access.md))
* One player can have vehicles across multiple private garages
* Created via admin panel with owner assignment

**Access:** Owner only (+ shared players if configured)

**How it works:**

1. Admin creates a private garage via `/zlomagarages`
2. Assigns owner(s) during creation
3. Owner interacts with garage ped/target to open menu
4. Can take out, store, share, and nickname vehicles

***

## Public

Garages accessible to all players on the server.

**Key Features:**

* Any player can access their own vehicles
* Two modes controlled by `Config.PublicGarageMode`:
  * `'location'` — vehicles can only be retrieved from the garage they were stored in
  * `'universal'` — vehicles can be retrieved from any public garage
* Most common garage type on servers

**Access:** All players (see only own vehicles)

**How it works:**

1. Admin creates a public garage via `/zlomagarages`
2. Any player interacts with the ped/target
3. Sees only their personal vehicles stored in that garage
4. Can take out, store, share, and nickname vehicles

***

## Organization

Job or gang garages with role-based access control.

**Key Features:**

* Restricted to members of a specific job or gang
* Minimum grade requirement (e.g., only Sergeant+ can access)
* Boss features: transfer personal vehicle to org, give org vehicle to player
* Vehicle grade restrictions — boss can set per-vehicle minimum rank
* Separate "My Vehicles" and "Organization Vehicles" tabs in menu
* Discord logging for transfers and vehicle grants

**Access:** Organization members meeting grade requirement

**Boss Actions:**

* **Transfer to Org** — Move a personal vehicle to the organization fleet (can be disabled per garage via the **Allow Transfer to Organization** toggle)
* **Give Vehicle** — Assign an org vehicle to a specific player
* **Return to Owner** — Return a transferred vehicle to its original owner
* **Set Vehicle Grade** — Restrict which ranks can use specific vehicles

**Organization Settings (Admin Wizard):**

* **Allow Personal Vehicles** — Members can store their own vehicles
* **Allow Transfer to Organization** — Players can convert their personal vehicles to org vehicles (enabled by default)
* **Boss Can Manage** — Boss can set per-vehicle grade requirements

**Organization Types:**

* `job` — Uses the player's job (ESX job, QBCore job)
* `gang` — Uses the player's gang (QBCore/QBox gang system)

**Shared Org Impound:** Organization garages can be linked to shared organization impounds, where any org of the same type can access impounded vehicles.

***

## Infinitive

Unlimited-spawn garages for duty vehicles, rental cars, or admin tools.

**Key Features:**

* Vehicles are **not** stored in the database — they spawn from a predefined list
* Configurable max spawn count per vehicle model
* Organization-restricted (job/gang based)
* Vehicles auto-delete when returned or on player disconnect
* Boss can force-return all spawned duty vehicles

**Access:** Organization members meeting grade requirement

**Configuration (per garage via admin panel):**

* Vehicle list with spawn names and max count
* Grade requirements per vehicle
* Organization type (job/gang) and name

**How it works:**

1. Admin creates an infinitive garage via `/zlomagarages`
2. Sets vehicle list: `{spawnName = 'police', maxCount = 5}`
3. Officers interact with garage → see available vehicles
4. Taking out a vehicle spawns a fresh one (no properties saved)
5. Returning deducts from the count
6. If `maxCount` reached, vehicle is unavailable until one is returned

***

## Vehicle Type Support

All garage types support three vehicle categories:

| Type   | Examples                  | Spawn Points         |
| ------ | ------------------------- | -------------------- |
| `car`  | Cars, trucks, motorcycles | Ground spawn points  |
| `air`  | Helicopters, planes       | Helipad spawn points |
| `boat` | Boats, jet skis           | Water spawn points   |

Each garage can have separate spawn points for each vehicle type, configured via the admin panel's spawn editor tool.


---

# 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/garage-types.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.
