Clothes blacklist / Whitelist
Our clothes system contains option for you to disable specific clothes or only allow some of them and you can do that for section or with global blacklist/whitelist for every section with same name
Section blacklist/whitelist has priority upon global one.
Blacklist example in component:
Blacklist pants_1 1,2,3 value for everyone
pants = {
pos = vector3(430.58, -800.13, 29.5),
label = '👖',
title = "Pants shop!",
help = 'Press ~INPUT_CONTEXT~ to open shop menu',
components = {
{
label = 'Pants',
name = 'pants_1',
from = 1,
to = 160,
current = 1,
reset = {
'pants_2'
},
price = 50,
blacklist = {
1, 2, 3
}
},
{
label = 'Pants color',
name = 'pants_2',
from = 0,
to = 20,
current = 1,
price = 10,
},
},
cam = {
offset = {
x = 0.0,
y = 1.0,
z = -0.5
},
pointOffset = {
x = 0,
y = 0,
z = -0.4
},
taskHeading = 86.66
}
},Blacklist example for specific gender
Blacklist for male pants 1,2,3 and for female 10,11,12
Whitelist example
Whitelist can be used same way as blacklist here example with sex specify
Last updated
Was this helpful?