# Creating Zones

Head to sn\_appearance\shared\zones.lua and add the following

```lua
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:

```lua
Zones[#Zones+1] = {
    type = 'clothing',
    coords = vec4(74.95, -1400.1, 28.38, 356.76),
    points = {
        vec3(82.325272, -1401.202148, 29.924128),
        vec3(69.723412, -1400.625366, 29.924128),
        vec3(70.355408, -1386.656616, 29.924128),
        vec3(81.740181, -1386.783691, 29.924128),
    },
}
```

### Barber shop:

```lua
Zones[#Zones+1] = {
    type = 'barber',
    coords = vec4(134.76, -1707.9, 28.29, 143.48),
    points = {
        vec3(131.896896, -1710.254150, 29.620100),
        vec3(136.269470, -1713.879639, 29.620100),
        vec3(142.635956, -1706.379639, 29.620100),
        vec3(138.245499, -1702.695557, 29.620100),
    },
}
```

### Job Locker:

```lua
Zones[#Zones+1] = {
    type = 'locker',
    job = 'police',
    admin = 1, -- can create or delete outfits if you have Config.adminOutfits = true
    coords = vec4(420.01, -984.12, 20.56, 272.46),
    points = {
        vector3(423.96, -972.77, 21.79),
        vector3(414.55, -973.73, 21.79),
        vector3(414.08, -986.14, 21.79),
        vector3(423.46, -986.22, 21.79),
    },
}
```

### Gang Locker:

```lua
Zones[#Zones+1] = {
    type = 'locker',
    gang = 'gangName',
    admin = 1, -- can create or delete outfits if you have Config.adminOutfits = true
    coords = vec4(420.01, -984.12, 20.56, 272.46),
    points = {
        vector3(423.96, -972.77, 21.79),
        vector3(414.55, -973.73, 21.79),
        vector3(414.08, -986.14, 21.79),
        vector3(423.46, -986.22, 21.79),
    },
}
```
