Installation

1. Download Resource

Download the purchased resource from CFX Portal - the official site of FiveM with purchased resources.


2. Install Required Dependencies

This script needs a few extra resources to work properly. Below you will find a list of things to download - click the link, download and upload to your server just like other resources.

Resource
Download Link

screenshot-basic - it's required for photos tool


3. Import Database Tables

This is a very important step - without it, the script will not work properly. Paste the SQL code into your database.

Not sure how to do it?

Main database table
CREATE TABLE IF NOT EXISTS `vms_business` (
  `id` varchar(50) NOT NULL DEFAULT '',
  `type` varchar(50) NOT NULL DEFAULT '',
  `owner` mediumtext DEFAULT NULL,
  `employees` longtext DEFAULT '{}',
  `stock` longtext DEFAULT '{}',
  `data` longtext DEFAULT '{}',
  `announcements` longtext DEFAULT '{}',
  `orders` longtext DEFAULT '{}',
  `history` longtext DEFAULT '{}'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

If you are using vms_stores and you already have vms_business table, you have to import history column using this query:

ALTER TABLE `vms_business` ADD COLUMN `history` longtext DEFAULT '{}';
Vehicles
Vehicles Categories

4. Register Jobs

Some functions work only if the player has a proper job. In this section, you will find ready-made job that you need to add in your framework (ESX/QB).

Jobs for ESX
Jobs for QB-Core

5. Start Resource

To start a resource in your server.cfg, ensure that it begins after your framework has been initiated. For instance, if you are using a framework like es_extended, you should start resource after it, like so:

Ensure there are no syntax errors or incorrect paths in your server.cfg.

Last updated

Was this helpful?