# Garages System

`Garages System` is a FiveM garage resource that allows players to store, retrieve, preview, insure, repair, refuel, and manage their personal or company vehicles through a modern NUI interface.

It is designed for immersive vehicle ownership and management, with support for impounds, towing, police impound actions, insurance plans, key sharing, company sharing, plate changes, trunk PIN management, and a full in-game admin panel for garage creation and editing.

With cinematic vehicle previews, framework integrations, token-protected server events, and configurable database support, the system is powerful, flexible, and suitable for advanced roleplay servers.

### Features

* Personal and company vehicle garages
* Vehicle storing and retrieval
* Cinematic vehicle preview system
* Insurance management
* Refueling and repairs
* Plate change support
* Trunk PIN management
* Key sharing and co-owner support
* Company vehicle sharing
* Player towing and police impound support
* In-game garage admin panel
* Configurable database schema
* Token-protected sensitive events

### How it works

Players can approach a garage marker on foot to open their garage interface or drive into a garage marker to store a vehicle.

Inside the garage UI, they can browse available vehicles, preview them in 3D, retrieve them, insure them, manage keys, change plates, refuel, repair, or tow them back to the garage.

Police or authorized faction jobs can additionally impound vehicles with custom duration and reason, while admins can create, edit, hide, delete, and manage garages directly in-game.

### Included Pages

* Installation
* Configuration

### Requirements

Before using this resource, make sure all required dependencies are installed and started correctly.

### Notes

* Supports personal and company vehicles
* Sensitive server events are secured through `msk_tokenizer`
* Database column names are fully configurable
* Garage management is available directly in-game for admins
* Vehicle preview includes cinematic camera and cloned ped presentation


---

# 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://mskscripts.gitbook.io/mskscripts/scripts/garages-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.
