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.
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 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
sql
DROP TABLE IF EXISTS `qs_city_objects`;
CREATE TABLE `qs_city_objects` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`creator` VARCHAR(80) NULL DEFAULT NULL,
`category_key` VARCHAR(100) NOT NULL,
`object` VARCHAR(200) NOT NULL,
`label` VARCHAR(255) NOT NULL,
`description` TEXT NULL DEFAULT NULL,
`price` INT(11) NOT NULL DEFAULT '0',
`img` TEXT NULL DEFAULT NULL,
`colorlabel` VARCHAR(255) NULL DEFAULT NULL,
`type` VARCHAR(50) NULL DEFAULT NULL,
`stash` LONGTEXT NULL DEFAULT NULL,
`offset` LONGTEXT NULL DEFAULT NULL,
`colors` LONGTEXT NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `creator` (`creator`) USING BTREE,
INDEX `category_key` (`category_key`) USING BTREE
)COLLATE='utf8mb4_unicode_ci' ENGINE=InnoDB;
DROP TABLE IF EXISTS `qs_citybuilder_decorations`;
CREATE TABLE `qs_citybuilder_decorations` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`creator` VARCHAR(80) NULL DEFAULT NULL,
`modelName` VARCHAR(200) NOT NULL,
`coords` LONGTEXT NOT NULL,
`rotation` LONGTEXT NOT NULL,
`inStash` TINYINT(1) NOT NULL DEFAULT 0,
`inside` TINYINT(1) NOT NULL DEFAULT 0,
`created` DATETIME NULL DEFAULT NULL,
`uniq` VARCHAR(120) NULL DEFAULT NULL,
`lightData` LONGTEXT NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `creator` (`creator`) USING BTREE
) COLLATE='utf8mb4_unicode_ci' ENGINE=InnoDB;
Dynamic Doors allows you to place doors with real movement in the world, enabling them to open and close dynamically instead of being static objects. This system adds a higher level of realism and interaction, making doors feel natural and responsive during gameplay.
Server Configuration
Add the following line to your server.cfg:
setr game_enableDynamicDoorCreation "true"
Script Configuration
Enable Dynamic Doors in your config.lua:
Config.DynamicDoors = true
Once both options are enabled, Dynamic Doors will be fully active and ready to use in your server.
This step is very important, if you skip it, you won’t be able to take photos in the phone. Please follow everything carefully.
Update CFX-Natives
Go to: https://github.com/citizenfx/cfx-server-data/tree/master/resources
Download the latest CFX-Natives files and replace the old ones on your server with the new versions. These files are required for FiveM to run properly.
Clear Server Cache
Open your main server folder (where server.cfg is located) and delete the cache folder.
This ensures your server loads the updated files correctly.
Setup FiveManage Token
Create an account at https://fivemanage.com and generate a token.
Then open config/fivemanage.lua and paste your token in Config.FiveManageToken.
Follow this step-by-step video guide to learn how to create your FiveManage account, generate your API token, and connect it properly with your server configuration so the phone photo and media system works correctly.