💿Installation

Installation guide and fundamental concepts of crm-appearance.

If you prefer us to handle the script installations for you, simply reach out to us on our Discord server, and one of our developers will assist you promptly.

1. Download Resource

To begin, download your recently purchased resource from corem.tebex.io. To do this, log in to your keymaster account and navigate to the 'Asset Grants' section, where you will find our resources.

2. Dependencies

WARNING!

Before installing any other coreM resources, ensure that you have installed the crm-core resource first. You can find detailed installation instructions for crm-core on its dedicated installation page.

3. Asset Arrangement

Make sure to delete any old clothing resource from your resources folder, such as qb-clothing, fivem-appearance, illenium-appearance, esx_skin, skinchanger, esx_clotheshop, esx_barbershop...

  1. Create a Folder: In your resources directory, create a new folder and name it [crm-scripts].

  2. Organize Resources: Place the crm-core and crm-appearance packages in this newly created [crm-scripts] folder. Additionally, if you have purchased any other coreM resources, also put them in the same folder.

  3. Server.cfg file: In your server.cfg file, you should ensure the crm-core resource first, followed by the [crm-scripts] folder.

  4. You should ensure corem scripts always after your qb-core / qbx-core / es_extended resource!

# make sure it's after your core resource, not before it!!!
ensure crm-core
ensure [crm-scripts]

4. Database

Execute the SQL queries found in the crm-sql folder within your database, skipping this step if no files are present.

5. Migration

We understand the importance of preserving data for our customers. With our migration system, you can effortlessly convert your old data from any clothing script you've been using into a format compatible with our crm-appearance resource. Simply do the following steps: 1. Go to crm-appearance -> crm-config -> crm-config.lua

crm_config.crm_migration = {
    crm_enable = false,
    crm_old_resource = 'illenium-appearance', -- 'illenium-appearance'
}
  1. Change crm_old_resource to your old clothing resource (example: illenium-appearance), and change crm_enable to true.

  2. Restart the script! (make sure no one is connected to the server).

  3. Wait for the migration process to be done.

  4. after the process is done change crm_enable to false.

  5. Step 5 is very important, you can't do the migration of the same data twice!!

6. Colors

You have the ability to modify the colors of all our scripts centrally from a single location.

crm-core -> crm-web -> crm-styles -> crm-main.css

/* ************************ crm-atoms ************************ */

:root {
    --crm-dark: 39, 39, 39;
    --crm-second: 52, 52, 52;
    --crm-third: 30, 30, 30;
    --crm-primary: 255, 176, 96; 
    --crm-white: 255, 255, 255;
    --crm-danger: 218, 55, 60;
    --crm-success: 36, 128, 70;
    --crm-warning: 207, 177, 54;
}

Last updated