Quasar Store Logo

Installation

Installation guide — please follow each step carefully and exactly as described to ensure the script works correctly on your server. Skipping or modifying steps may cause the system to not function properly, so follow it step by step.

Download Script

To download the assets needed for this script, you must access the official Cfx.re portal, where all assets purchased through Tebex are managed.

1

Access the Granted Assets Page

Open the Cfx.re granted assets page: https://portal.cfx.re/assets/granted-assets.

This page contains all assets linked to your Cfx.re purchases.

2

Log In with Your Cfx.re Account

Sign in using the same Cfx.re account you used when purchasing the asset.

If you use a different account, the assets will not appear.

3

Download the Housing Assets

In the granted assets list, locate and download:

Garages

These two packages are required to install the full housing system.

These files include the models, materials, and visual resources required for the proper operation of the housing system.





Download Dependencies

This script requires some mandatory dependencies to function correctly. Make sure to download and extract them inside your server’s main directory, keeping their original folder structure intact.

This dependency is optional, but if you want to save the visual damage of vehicles, you can download.





Remove Other Scripts

This script may cause conflicts or errors if you use other garage systems on your server.Common examples include qb-garages, esx_garages or other similar garages scripts.It’s strongly recommended to remove them completely before installation to prevent compatibility or functionality issues.





Server.cfg Placement

This script must always start after es_extended or qb-core, never before. We recommend placing it below them in your server.cfg, ensuring all dependencies are loaded first to prevent errors or unexpected behavior.

If you’re using qs-housing or plan to integrate it with a housing system, make sure to start it right above the housing resource for proper synchronization and functionality.





Database Setup

Avoid using tools like XAMPP or other non-optimized local servers, as they may cause connection errors.

This script includes an essential database required for its operation.You must import it before starting your server, preferably using HeidiSQL or any other manager compatible with MariaDB/MySQL.

ESX

QB





Deformation and Repair

Quasar Advanced Garages includes a vehicle damage system that keeps every dent and scratch until the car is repaired. It works on its own, not with ESX or QB repair systems.

You can fix vehicles in three simple ways:

1

By Export

You can use exports['qs-advancedgarages']:RepairSpecificVehicle(plate) or exports['qs-advancedgarages']:RepairNearestVehicle().

2

By Command

Use /repairvehicle (admin only). You can change who can use it in server/custom/framework/*.

3

By Item

Enable Config.RepairKit = true in config.lua to use the repair kit item with a short repair animation

This system makes damage persistent and realistic, perfectly integrated with the garage system.





Remove Vehicles in Map

In Quasar Advanced Garages, vehicles are persistent, so the usual /dv command won’t work — cars will reappear after deletion.

To handle this, two admin-only commands are included:

/mdv → Removes the nearest vehicle and sends it to the impound.
/mdvall → Sends all active vehicles on the map to the impound.

Use these instead of /dv to properly remove vehicles in servers with persistence enabled.