Hey,
So Im trying to get the job grades work correctly and coming up short. This is how I did it but it doesnt seem to work correctly. The option is disabled even if I set myself to police with the grade 0. Am I doing something wrong or am I just severely disabled?
exports.interact:AddInteraction({
coords = vec3(603.8867, 7.1181, 87.8019),
distance = 8.0, -- optional
interactDst = 1.0, -- optional
id = 'vinewoodArmory', -- needed for removing interactions
name = 'Vinewood Armory', -- optional
groups = {
['police'] = 0, -- Jobname | Job grade
},
options = {
{
label = 'Access Armory',
action = function(entity, coords, args)
TriggerEvent('av_shops:open', "PDArmory")
end,
},
}
})```
Hey,
So Im trying to get the job grades work correctly and coming up short. This is how I did it but it doesnt seem to work correctly. The option is disabled even if I set myself to police with the grade 0. Am I doing something wrong or am I just severely disabled?