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
Now you can go to the config.lua file and customize the script as you see fit.
- USE_JOB: by modifying this parameter you can decide if the script will work as a job (so the players won't be able to autonomously get the nails but they will need an employee with that specific job)
- MENU_TYPE: by modifying this parameter you can decide what type of menu use for lockroom and boss
- TARGET_TYPE: by changing this parameter, you can decide whether to use 3rd eye instead of classical markers
- JOB_NAME: if the previous parameter is set to true here you will have to enter the name of the job that you previously entered following the specific guide of your framework
- CHAIR_PROP: 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
- CHAIR_COORDS: 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.
- CURRENT_LANG: select one of the following languages: en, fr, es, it, de, ja, pt
- PRICE: select how much it costs to change nails
- SHOP_BLIPS: 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