QBCore

1

Add code

qb-clothing/client/main.lua - Add code at the end of the file

exports("SaveSkin", SaveSkin)
exports("ChangeVariation", ChangeVariation)
2

Add code

qb-tattooshop/client/main.lua - Add code at the end of the file

RegisterNetEvent('Refresh:Tattooes')
AddEventHandler('Refresh:Tattooes', function()
    Wait(1000)
    if next(currentTattoos) then
        for k, v in pairs(currentTattoos) do
            SetPedDecoration(PlayerPedId(), v.collection, v.nameHash)
        end
    end
end)
3

Add code

qb-core/shared/jobs.lua - Add code

['nail'] = {
        label = "Nail Shop",
        defaultDuty = true,
        offDutyPay = false,
        grades = {
            ['0'] = {
                name = 'Employed',
                payment = 75
            },
            ['1'] = {
                name = 'Submanager',
                payment = 100
            },
            ['2'] = {
                name = 'Manager',
                payment = 150
            },
            ['3'] = {
                name = 'Boss',
                payment = 200,
                isboss = true
            },
        },
    },
4

Add code

qb-bossmenu/accounts.json - Add code

"nail":0

qb-bossmenu/config.lua in Config.Jobs - Add code

['nail'] = vector3(225.72, -1544.73, 29.49),

jc-nails/config.lua - Change "Enable" to false

Config.BossMenu = {
    Enable = false, -- this line
    WashMoney = false,
    Coords = {
        vector3(225.72, -1544.73, 29.29)
    }
}
5

Set your nails

Go to the clothing store and change the bag until you find the nails and replace those numbers in the jc-nails config in Config.Nails.Numbers

Name
Description

Id

is the slot of the clothes

Max

is the maximum color that that nail has

6

Finally there are 3 types of ways to use the script

ID
Name
Description
1

Onlyjob

This option you must have a job like any other job

2

Multijob

This option is created by me with this option you can have a job and use the nails menu (If you choose this option you must execute the sql jcjobs.sql)

3

Store

It does not need any work and the player can change the nails at the specified coordinates (The coordinates are added in the config.lua).

If you chose option 2 these are the commands to add and remove the job

You should also verify that the key to open the job menu is not in use

  • /addjob (id) (job) (grade) - example /addjob 1 nail (0-3)

  • /removejob (id) (job) - example /removejob 1 nail

Grade 3 is the boss and could add more employees

Last updated