Welcome to the Quasar Advanced Garages installation guide, here you can learn how to completely install our asset, following each step we will achieve a clean and fluid installation where you will not find any problems, as long as the documentation has been completed in full.
For compatibility and security reasons, we request that WinSCP be used mandatorily to manage the script files instead of FileZilla. WinSCP offers greater stability and better integration with our work environment, ensuring a more efficient handling of assets and minimizing issues related to file transfers. We appreciate your cooperation in ensuring a better experience for everyone.
If you do not have programming experience, we recommend that you read each step completely without skipping any lines, since all documentation is important and should not be ignored under any circumstances. If you have a trusted developer, you can install this quickly, easily and safely if you complete this documentation step by step.
If at the end of this documentation you still have any problems, review each step again, after having checked that everything is correct, you can obtain more information about common errors in the Common Problems section within this same documentation to seek help independently.
Asset download
To find the asset, you must have made the purchase using your own keymaster account. Otherwise, you can use the transfer system to move the asset to a different keymaster account.
If you need to make an update you must also do this step again, download the asset and you will get the complete update.
Once the purchase is made on our official website, you will receive your asset directly in your Keymaster, in your own panel you can download the asset and install it following the following documentation.
If you have more problems regarding Fivem Escrow, accounts or asset startup errors you can go here and see if any of them match your case, since Escrow requires some basic things for its operation, such as your keymaster account, your licensekey , etc.
To use this asset you must have gamebuild version 2802 or higher. If you do not comply with this step, you may not have the interiors of the garages.
How to update the game build to version 2802?
This is a very simple step, we will directly access the artifacts for Windows or Linux, depending on our type of server. We will download it and replace it with the artifacts from our server.
Once this step was done, they added sv_enforceGameBuild 2802 in your server.cfg, make sure you don't have another convar with the same name or another version.
This asset has some dependencies that are completely mandatory and important for the operation of the asset. If you do not have these dependencies, your asset will probably start and have some error or message in its command console.
Correctly position the assets by following this step, if something goes wrong you will probably get errors about exports not found, do not skip this step.
If you use a housing system, don't forget to start qs-advancedgarages first and then the other assets as your respective housing.
For the execution of this asset, we will respect the respective order mentioned below. We recommend starting both dependencies and the same garage asset in the same [garages] folder. Otherwise we will have to start the dependencies first and then the qs-advancedgarages.
-- First we will start the cores, never belowensure es_extended or qb-core-- Your vehiclekeys go firstensure [vehiclekeys]-- Run qs-advancedgarages here along with its dependenciesensure [garages]-- In the case of a housing system, we will always put it belowensure [housing]
Database
This system will work with your current vehicles, it does not require you to wipe them or eliminate any current function unless there is an error in your props, for example if your vehicle comes out without tunings, you will have to eliminate the sql and use ours completely by default due to to some props problem in your old garage or vehicle shop.
In this case, we will run the sql completely in our database following the documentation below, choose your framework depending on whether it is esx or qbcore.
Database for esx (make a backup first)
This file will delete the current tables and insert the new ones, make a backup to keep your vehicles and insert them again later.
ALTERTABLE`users`ADDIFNOTEXISTS`shell_garage`TEXTNULLDEFAULT'';DROPTABLEIFEXISTS`owned_vehicles`;CREATETABLE `owned_vehicles` (`id`INT(11) NOT NULL AUTO_INCREMENT,`owner`VARCHAR(255) NOT NULLCOLLATE'utf8mb4_bin',`tag`VARCHAR(50) NULLDEFAULTNULLCOLLATE'utf8mb4_bin',`plate`VARCHAR(250) NOT NULLCOLLATE'utf8mb4_bin',`vehicle` LONGTEXT NULLDEFAULTNULLCOLLATE'utf8mb4_bin',`type`VARCHAR(20) NOT NULLDEFAULT'vehicle'COLLATE'utf8mb4_bin',`garage`VARCHAR(200) NULLDEFAULT'OUT'COLLATE'utf8mb4_bin',`impound_data`TEXTNULLDEFAULT''COLLATE'utf8mb4_bin',`favorite`INT(3) NOT NULLDEFAULT'0',`stored`TINYINT(4) NULLDEFAULT'0',`jobVehicle`VARCHAR(50) NULLDEFAULT''COLLATE'utf8mb4_bin',`jobGarage`VARCHAR(50) NULLDEFAULT''COLLATE'utf8mb4_bin',PRIMARY KEY (`id`) USING BTREE) COLLATE='utf8mb4_bin' ENGINE = InnoDB AUTO_INCREMENT =1;ALTERTABLE`owned_vehicles` CONVERT TOCHARACTERSET utf8mb4 COLLATE utf8mb4_bin;DROPTABLEIFEXISTS`player_garages`;CREATETABLE `player_garages` (`id`INT(11) NOT NULL AUTO_INCREMENT,`owner`VARCHAR(50) NULLDEFAULTNULLCOLLATE'utf8mb4_unicode_ci',`name`VARCHAR(50) NULLDEFAULTNULLCOLLATE'utf8mb4_unicode_ci',`price`INT(11) NOT NULL,`coords`TEXTNULLDEFAULTNULLCOLLATE'utf8mb4_unicode_ci',`shell`TEXTNULLDEFAULTNULLCOLLATE'utf8mb4_unicode_ci',`type`VARCHAR(50) NULLDEFAULT'vehicle'COLLATE'utf8mb4_unicode_ci',`holders`TEXTNULLDEFAULTNULLCOLLATE'utf8mb4_unicode_ci',`available`INT(11) NULLDEFAULTNULL,`job`VARCHAR(50) NULLDEFAULTNULLCOLLATE'utf8mb4_unicode_ci',PRIMARY KEY (`id`) USING BTREE) COLLATE='utf8mb4_unicode_ci' ENGINE = InnoDB AUTO_INCREMENT =27;ALTERTABLE`player_garages`ADD COLUMN IFNOTEXISTS`gang`VARCHAR(50) NULLDEFAULTNULLCOLLATE'utf8mb4_unicode_ci';
Database for qbcore
In case of qbcore it will only alter the tables without deleting the current data. If you have problems, please delete the vehicles you have in your database.
We do not recommend editing frameworks unnecessarily, since almost all assets depend exclusively on your framework and exports on the name of your framework. Otherwise and if you edited your framework, read these steps carefully.
If you still require more open codes for the configuration, you can check within client/custom and server/custom to adapt the asset to your personal taste.
Please expand each part to see information about the configuration of the asset, this way you will understand the general operation of the asset on the framework and editable files side.
Basic framework configuration
The asset will work automatically if your framework is called es_extended or qb-core, it will automatically detect if any of them are started. In case your framework has been renamed, you can modify it in config.lua to edit the name of your framework.
Advanced framework configuration
If your framework is completely modified, both in events and name, you should access client/custom/framework or server/custom/framework to adapt the native events of your framework to the codes you have created. If this step doesn't work, we ask that you ask your framework modifier or trusted developer for help.
More general settings
This asset contains multiple configurations within the config folder. But you can also access more open source and configurations within client/custom or server/custom. We do not recommend using these configurations if you do not have the basics of programming.