πŸ”₯All scripts on our website are 50% off!πŸ”₯
Logo

Installation

Follow these steps to install BIT-ClothingShop v.2 on your FiveM server.

Download

Before starting, you must log in to the CFX portal to download the asset. You will be able to download it as many times as you want on the official CFX page.

1. Logging in to the CFX Portal

First, log in to the official CFX portal by clicking here.

2. Finding your assets

Once logged in, navigate to the Granted Assets section to access your purchased assets. You can download them by clicking the "Download" button.

Download

Dependencies

This script requires screenshot-basic to work: https://github.com/citizenfx/screenshot-basic

Add Resources

Once you have downloaded the script and dependencies, you must add them to your server's server.cfg file.

This resource must always be started below your framework and inventory. Otherwise, functionality issues or critical errors may occur.

# Default & Standalone Resources
# ------------------------------

ensure spawnmanager
ensure oxmysql
ensure bob74_ipl

# ESX Legacy Core
# ---------------

ensure [core]
ensure [inventory]
ensure screenshot-basic
ensure bit-clothingshop

SQL Query

Use the following SQL query in your database:

ESX

CREATE TABLE IF NOT EXISTS `player_outfits` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(50) DEFAULT NULL,
  `outfitname` varchar(50) NOT NULL,
  `model` varchar(50) DEFAULT NULL,
  `skin` text DEFAULT NULL,
  `outfitId` varchar(50) NOT NULL,
  `active` int(2) DEFAULT 0,
  `props` LONGTEXT;
  PRIMARY KEY (`id`),
  KEY `identifier` (`identifier`),
  KEY `outfitId` (`outfitId`)
);

QB/QBOX

ALTER TABLE `player_outfits` ADD COLUMN
(
    `active` int(2) DEFAULT 0,
    `props` varchar(50) DEFAULT NULL,
) 

Restart

Once you have completed these steps, restart your server and the installation will be complete.

[!CAUTION] Β· The name of the script folder must not be changed, otherwise the resource will not work correctly. Β· Do not edit the encrypted files in any way.