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.
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.
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.
Download the Housing Assets
In the granted assets list, locate and download:
ApartmentsThese 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.
Remove Other Scripts
This script may cause conflicts or errors if you use other dealership systems on your server. Common examples include qb-apartments, qbx_property or other similar dealership scripts. It’s strongly recommended to remove them completely before installation to prevent compatibility or functionality issues.
Database Setup
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.
First Apartment
qs-multicharacter is not installed, the system will not automatically assign an initial apartment to new players.Quasar Apartments can automatically assign a starter apartment to players when they join the server. This feature works through the integration with qs-multicharacter, which handles the character spawn and initial setup process.
Open the Chat
Press T to open the in-game chat.
Run the Command
Type the following command: /apartment.
Select Your Apartment
The apartment selection menu will open, allowing the player to choose their preferred apartment.
Running the Command via Code
If you want to trigger the apartment selection automatically from a script or custom event, use the following:
This command enables automated apartment selection and allows developers to integrate apartment spawning or selection into other systems, events, or custom gameplay flows.
