Installation

Quasar Motels Creator is a full motel management system for FiveM, letting players rent rooms with wardrobes, stashes, and parking. Rentals can be temporary or permanent, with auto-cleaning cycles and key-based access for guests. Admins create motels in real time, customize interiors, and set prices. Compatible with ESX and QBCORE, it expands housing with immersive, flexible, entry-level living.


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. Go to the following link: 🔗 https://portal.cfx.re/assets/granted-assets

  2. Log in with the same Cfx.re account you used to make the purchase.

  3. In the list of granted assets, find and download the following:

    • Motels Creator


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 motel systems on your server. 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.


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.

ESX
ALTER TABLE `users` ADD IF NOT EXISTS `ems_duty` LONGTEXT NULL DEFAULT NULL;
ALTER TABLE `users` ADD IF NOT EXISTS `is_dead` TINYINT(1) NULL DEFAULT '0';

CREATE TABLE IF NOT EXISTS `hospitals` (
	`id` INT(11) NOT NULL AUTO_INCREMENT,
	`creator` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb3_general_ci',
	`zone` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`respawnPoint` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`blip` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`duty` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`stash` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`boss` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`checkIn` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`wardrobe` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`shop` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`garage` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb3_general_ci',
	PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb3_general_ci'
ENGINE=InnoDB
;
QBCORE
CREATE TABLE IF NOT EXISTS `hospitals` (
	`id` INT(11) NOT NULL AUTO_INCREMENT,
	`creator` VARCHAR(50) NOT NULL DEFAULT '0' COLLATE 'utf8mb3_general_ci',
	`zone` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`respawnPoint` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`blip` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`duty` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`stash` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`boss` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`checkIn` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`wardrobe` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`shop` LONGTEXT NOT NULL COLLATE 'utf8mb3_general_ci',
	`garage` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb3_general_ci',
	PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb3_general_ci'
ENGINE=InnoDB
;

Motel Creation Menu

To access the motel creation menu, simply use the following command in the in-game chat:

/createmotels

This command will open the Quasar Motels Creator interface, allowing you to create, edit, and configure your motel quickly and visually.