Creating Zones
Head to sn_appearance\shared\zones.lua and add the following
Zones[#Zones+1] = {
type = 'clothing',--Required Options: clothing, barber, tattoo, surgeon, locker, outfitMenu
label = 'Clothing Store',--Optional will override default for the type
categories = { 'peds', 'face', 'faceFeatures', 'skin', 'hair', 'makeup', 'clothing', 'accessories', 'outfits'},--Optional will override default for the type
charge = 999, --Optional will override default for the type
coords = vec4(0.0, 0.0, 0.0, 0.0), --Required for blip third eye ped or if you used size as zone type
size = vec3(0.0, 0.0, 0.0), --Optional if you are using points zone
points = { --Optional if you are using size zone this is all corners of the location you want
vec3(0.0, 0.0, 0.0),
vec3(0.0, 0.0, 0.0),
vec3(0.0, 0.0, 0.0),
vec3(0.0, 0.0, 0.0)
},
hideBlip = true, --Optional hides blip...
blip = { --Optional overrides default blip
label = 'something',
sprite = 0,
color = 0,
size = 0.7,
},
target = { --Optional edit the ped used
model = `modelName`,
scenario = 'scenarioName',
icon = 'iconName',
label = 'targetLabel',
},
job = 'jobName', (OPTIONAL) --locks it to a job
gang = 'gangName', (OPTIONAL) --locks it to a gang
admin = 1, --Optional Used only if you are using category 'lockeroutfits' if the player is rank is above this they can delete or create outfits
}PRESETS:
Clothing store:
Barber shop:
Job Locker:
Gang Locker:
Last updated