Restrict shop to certain job

Right now there are two possible ways to limit visibility with help of a player job.

jobs

This will make the shop visible only for the selected job.

jobs_blacklist

If you do not use the whitelist "jobs" above and you want it to be visible for everyone besides some jobs, you can use this blacklist.

Lets show it on some real example.

{ --Testing double shop
    blip = {
        pos = vector3(25.879409790039, -1352.1334228516, 29.334775924683),
        label = 'Dealer test',
        sprite = 52,
        color = 1,
    },
    jobs_blacklist = {
        'job that will no see', 'another job that will not see',
    },
    jobs = {
        'i will see this','me to!!',
    },
    sections = {}
}

Last updated