Restriction for certian job

We will have to look for "sections" and to the desired section we would like to lock for the job we will simply add job = { "job" } check the example below

Config.Stores = {
    {
        position = vector3(-1164.99,-1586.59,4.38),
        label = 'Vespuci - Masky',
        sprite = 362,
        color = 60,
        society = 'society_goverment',
        
        ------------------------
        -- Restricting this section to the job
        -- Here
        ------------------------
        job = {
            'first job', --Use job limitation
            'second job'
        },
        -----------------------
        -----------------------
        -----------------------        
        
        sections = {
            glasses = {
                pos = vector3(-1164.99,-1586.59,4.38),
                label = '🙈',
                help = 'Click ~INPUT_CONTEXT~ to open shop',
                components = {
                    {
                        label = 'Mask',
                        name = 'mask_1',
                        from = -1,
                        to = 160,
                        current = -1,
                        reset = {
                            'mask_2'
                        },
                        price = 50,
                        blacklist = {
                            26,27,
                        }
                    },
                    {
                        label = 'Color of the mask',
                        name = 'mask_2',
                        from = 0,
                        to = 20,
                        current = 0,
                        price = 10,
                    },
                },
                cam = {
                    offset = {
                        x = 0.0,
                        y = 1.0,
                        z = 0.7
                    },
                    pointOffset = {
                        x = 0,
                        y = 0,
                        z = 0.8
                    },
                    taskHeading = 100.66
                }
            },
        }
    },
}

Last updated