> For the complete documentation index, see [llms.txt](https://docs.menanak47.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.menanak47.com/multi-framework/ak47_jobgarage.md).

# ak47\_jobgarage

The ultimate job garage management experience for FiveM servers.

{% embed url="<https://youtu.be/hq3kxBBrVJ8>" %}

ak47\_jobgarage provides a comprehensive, fully in-game solution to create, configure, and manage vehicle garages for any job. Featuring an intuitive 3D placement builder, rank-based vehicle permissions, on-the-spot vehicle servicing (repair, refuel, livery, extras, wash), and native `ak47_lib` multi-framework support.

***

### 🔥 Key Features

Designed to improve roleplay immersion and economy balancing:

#### 🏗️ In-Game Creation & Administration

* **Visual 3D Builder & PolyZone Setup:** Admins can effortlessly create new job garages in-game using interactive PolyZone boundary drawing and a 3D scripted camera to position and rotate preview spawn points with precision controls.
* **Live In-Game Garage Editor:** Edit existing garages anytime using `/jobgaragesetting` to modify blip visibility, sprite, color, size, vehicle categories, and toggle individual garage service features without restarting the server.
* **Flexible Admin Access Control:** Secure admin commands (`/createjobgarage`, `/jobgaragesetting`, `/deletejobgarage`) with ACE permissions, Rockstar licenses, identifiers, or framework user groups (`admin`, `superadmin`, `god`).

#### 🚘 Multi-Vehicle Types & Job Rank Authorization

* **Universal Vehicle Type Support:** Dedicated setup options for ground vehicles (cars/bikes), helicopters, airplanes, and sea craft (boats/submarines) with accurate water detection probing.
* **Rank-Based Vehicle Access:** Restrict high-performance or specialized job vehicles to specific ranks or grades within the job hierarchy.
* **Configurable Grade Hierarchy:** Option to allow higher-ranking officers to access all lower-rank vehicles or strictly enforce exact rank requirements.

#### 🔧 Quick Service & Modification Options

* **Instant Vehicle Repair & Cleaning:** Built-in options menu allowing drivers to repair damage, fix vehicle deformation, and clean away dirt using progress bars.
* **Livery & Extras Switcher:** Real-time menus to easily switch vehicle liveries or toggle vehicle extras (0–14) via interactive UI checkboxes.
* **Integrated Fuel Top-Up:** Refuel job vehicles directly inside the garage zone with automatic framework and fuel script compatibility.

#### 📍 Smart Spawning & Dock Repositioning

* **Intelligent Spawn Point Detection:** Automatically scans defined spawn points and selects the closest unobstructed point, preventing vehicle stacking and collisions.
* **Dock Exit Repositioning:** Custom exit coordinates for boat garages that automatically teleport the driver and passengers safely onto docks when storing watercraft.
* **Automatic Keys & Cleanup:** Seamlessly grants vehicle keys upon spawn, cleans dirt, applies predefined vehicle modifications, and handles safe despawning upon vehicle return.

#### 🛠️ Technical Excellence

* **Multi-Framework & Target Support:** Seamlessly works with ESX, QB, QBX, and various target systems (ox\_target, qb-target, qtarget).
* **Highly Secure:** Built-in server-side exploit checks, including distance validation and trigger authentication, to prevent cheating.
* **Automated Database & Core Integrations:** Features automated MySQL database creation with legacy table migration support, zero-idle PolyZone optimization, and seamless key and fuel integrations via `ak47_lib`.

***

### 💻 Framework:

* ESX, QB, QBX

***

### ⚙️ Dependencies:

* ak47\_lib: <https://github.com/MenanAk47/ak47_lib/releases/latest>

***

### ⚙️ How To Install:

* Download ak47\_jobgarage from your cfx portal.
* Add the script in your resources folder.
* Add items based on your framework instruction.
* Add item images into inventory.
* Start the script in your server.cfg below framework files.
* Make sure you have all dependencies.
* Restart the server.

***

### 🔗 Links & Support:

* **📖 Documentation:** <https://docs.menanak47.com/multi-framework/ak47_jobgarage>
* **🛒 Buy Now (Tebex):** <https://menanak47.tebex.io/package/6222271>
* **💬 Discord Support:** <https://discord.gg/menanak47>

***

### 📝 Note:

* We don't support custom framework. Make sure you are using official framework update.
* Renaming the script is not allowed. It may break the functionalities.
* Don't upload the script with FileZilla, Use Winscp if you are using FTP for file uploading
