⚙️Installation

Here you can find the basic guide to install dd-barbershop

ESX Framework

If you have custom hairs or beard you have to set your license in config in authorized_license and use the command “dd-barbershop-config” with both the sex

QB-Core Framework

If you have custom hairs or beard you have to set your license in config in authorized_license and use the command “dd-barbershop-config” with both the sex

Go to qb-core/shared/jobs.lua and insert this code:

['harem'] = {
    label = 'Harem Saloon',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = {
            name = 'Learner',
            payment = 50
        },
        ['1'] = {
            name = 'Beautician',
            payment = 75
        },
        ['2'] = {
            name = 'Manager',
            isboss = true,
            payment = 100
        }
    },
},

The installation is finished, you can go to the configuration paragraph to customize your script

Configuration

Configuration

General

TARGET_TYPE
  • Description: allows to enable and change the target script (3rd eye)

  • Variable type: string

  • Options: none, qb-target, ox_target

CHAIR_PROP
  • Description: the script provides an animation system that makes the player sit down. If you use our Harem Beauty Saloon you don't need to change the value. If you use another salon you will need to enter the prop name of the chair closest to the marker. If you don't know what to do don't touch anything, the script will just run without the players sitting down

  • Variable type: string

  • Options: [PROP_NAME]

CURRENT_LANG
  • Description: select script language

  • Variable type: string

  • Options: en, fr, es, it, de, ja, pt, sv

CHAIR_COORDS
  • Description: the script provides an animation system that makes the player sit down. If you use our Harem Beauty Saloon you don't need to change the value. This parameter indicates the distance at which the ped will sit relative to the chair (it is a simple coordinate adjustment that must be found by trial and error) Example: if the chair is at coordinates 10.0, 10.0, 10.0 and the player went to sit at those exact coordinates would interpenetrate with the chair, this parameter (imagining it is set to -0.01, -0.6, 0.1 which are the default values) will make the ped sit at 9.99, 9.4, 10.1.

  • Variable type: table

  • Options:

PRICE
  • Description: select how much cost any nails change (pay on save)

  • Variable type: number

  • Options: [PRICE]

SHOP_BLIPS
  • Description: here you can insert/modify the coordinates and other values of the blip on the map (the custom one created by us is present by default). You don't need to touch anything if you use our Harem Beauty Saloon

  • Variable type: table

  • options:

SELLER
  • Description: This variable handles the path the NPC follows, the pattern and the offset (it is generated only in mod USE_JOB = false).

    Each index of the WALK_PATH array indicates a point to be reached by the NPC.

    The first index indicates the generation location.

    After following all the points the NPC will go to the chair on which the player is sitting.

    By changing MODEL you can change the model of the NPC.

  • Variable type: table

  • Options:

Enable job mode

1

Step 1

Set USE_JOB to TRUE

2

Step 2

Set JOB_NAME to your JOB

3

Step 3

Edit JOB_POSITIONS for your positions in the MLO (By default it will work in the harem saloon location San Andreas Avenue)

4

Step 4

Add or remove vehicles in VEHICLES (by default you will find the vehicle vitoharem, contained in the DLC Business)

5

Step 5

Edit SKINS to your employee clothes (by default you will find the harem clothes, contained in the DLC Business)

6

Step 6

Edit BILLING_KEY if you want to use a key different by F6

7

Step 7

If you use a script other than the basic script in your framework set the CUSTOM_BILLING_SYSTEM variable to TRUE and go to client/editable.lua and edit the customBillingSystem function

Disable job mode

1

Step 1

Set USE_JOB to FALSE

2

Step 2

Edit SHOPS for your positions in the MLO (By default it will work in the harem saloon location San Andreas Avenue)

Now you can go to the config.lua file and customize the script as you see fit.

CONFIGURATION FOR CUSTOM HAIRS/BEARDS

If there should be custom hair or beards on your server to create the images you will need to follow these steps:

  • Enter your license within the authorized licenses in the configuration file

  • Arrange your character with the look you prefer

  • Open the game chat or game console and type the command "dd-barbershop-config”

  • Press the "E" key to start the process and wait for it to finish

  • Repeat the process with a character of the opposite sex

  • Restart your server and verify that the photos are to your liking

This last step is a tip, set the game time to 10:00 and the weather to clear to get better photos!

Configuration for Las Lagunas Blvd Harem Saloon

Replace the corresponding code inside your config.lua

Last updated