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 may cause conflicts or errors if you use other clothing or appearance systems on your server.Common examples include, common examples include: esx_skin, skinchanger, fivem-appearance, esx_barbershop, esx_clotheshop, illenium-appearance, and rcore_clothing.
It’s strongly recommended to completely remove these resources before installation to ensure proper functionality and prevent compatibility issues. Also, delete any tattoo shop resources such as esx_tattooshop from your server’s resources folder.
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
DROPTABLE IF EXISTS `clothing_stores`;
DROPTABLE IF EXISTS `clothing_player_outfits`;
DROPTABLE IF EXISTS `clothing_job_outfits`;
DROPTABLE IF EXISTS `management_outfits`;
DROPTABLE IF EXISTS `player_outfits`;
DROPTABLE IF EXISTS `playerskins`;
CREATE TABLE IF NOTEXISTS `clothing_stores` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`creator` VARCHAR(80) NULLDEFAULT'0'COLLATE'utf8mb3_general_ci',
`name` VARCHAR(50) NULLDEFAULT'0'COLLATE'utf8mb3_general_ci',
`type` VARCHAR(50) NULLDEFAULT'0'COLLATE'utf8mb3_general_ci',
`zone` TEXT NULLDEFAULTNULLCOLLATE'utf8mb3_general_ci',
`show_blip` TINYINT(1) NULLDEFAULT'0',
`config` TEXT NULLDEFAULTNULLCOLLATE'utf8mb3_general_ci',
PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb3_general_ci'
ENGINE=InnoDB
;
CREATE TABLE IF NOTEXISTS `clothing_player_outfits` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`owner` VARCHAR(80) NOT NULLDEFAULT'0'COLLATE'utf8mb3_general_ci',
`label` VARCHAR(80) NOT NULLDEFAULT'0'COLLATE'utf8mb3_general_ci',
`model` VARCHAR(80) NOT NULLDEFAULT'0'COLLATE'utf8mb3_general_ci',
`components` TEXT NULLDEFAULTNULLCOLLATE'utf8mb3_general_ci',
`props` TEXT NULLDEFAULTNULLCOLLATE'utf8mb3_general_ci',
PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb3_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=1
;
CREATE TABLE IF NOTEXISTS `clothing_job_outfits` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`creator` VARCHAR(80) NOT NULLDEFAULT'0'COLLATE'utf8mb3_general_ci',
`label` VARCHAR(80) NOT NULLDEFAULT''COLLATE'utf8mb3_general_ci',
`job` VARCHAR(50) NOT NULLDEFAULT'0'COLLATE'utf8mb3_general_ci',
`grades` TEXT NOT NULLCOLLATE'utf8mb3_general_ci',
`model` VARCHAR(80) NOT NULLDEFAULT''COLLATE'utf8mb3_general_ci',
`components` TEXT NOT NULLCOLLATE'utf8mb3_general_ci',
`props` TEXT NOT NULLCOLLATE'utf8mb3_general_ci',
PRIMARY KEY (`id`) USING BTREE
)
COLLATE='utf8mb3_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=1
;
CREATE TABLE IF NOTEXISTS `player_outfits` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`citizenid` varchar(50) DEFAULTNULL,
`outfitname` varchar(50) NOT NULLDEFAULT'0',
`model` varchar(50) DEFAULTNULL,
`props` varchar(1000) DEFAULTNULL,
`components` varchar(1500) DEFAULTNULL,
PRIMARY KEY (`id`),
UNIQUE KEY `citizenid_outfitname_model` (`citizenid`,`outfitname`,`model`),
KEY `citizenid` (`citizenid`)
) ENGINE=InnoDB AUTO_INCREMENT=26DEFAULT CHARSET=utf8mb4;
CREATE TABLE IF NOTEXISTS `playerskins` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`citizenid` varchar(255) NOT NULL,
`model` varchar(255) NOT NULL,
`skin` text NOT NULL,
`active` tinyint(4) NOT NULLDEFAULT1,
PRIMARY KEY (`id`),
KEY `citizenid` (`citizenid`),
KEY `active` (`active`)
) ENGINE=InnoDB AUTO_INCREMENT=1DEFAULT CHARSET=latin1;