# Config

### Config

```lua
Config = Config or {}

Config.ActionType = 'zone'    -- 'target' or 'radial' or 'zone'
Config.EnableClothing = true -- Enable or disable clothing menus (show/hide clothes)
Config.Aces = {
    'vip'
}

Config.HiddenClothesMale = {
    components = {
        ['mask']      = { 0, 0 },
        ['arms']      = { 15, 0 },
        ['pants']     = { 21, 0 },
        ['bag']       = { 0, 0 },
        ['shoes']     = { 34, 0 },
        ['accessory'] = { 0, 0 },
        ['t-shirt']   = { 15, 0 },
        ['vest']      = { 0, 0 },
        ['decals']    = { 0, 0 },
        ['torso2']    = { 15, 0 },
    },
    props      = {
        ['hat']      = { -1, 0 },
        ['glass']    = { -1, 0 },
        ['ear']      = { -1, 0 },
        ['watch']    = { -1, 0 },
        ['bracelet'] = { -1, 0 },
    }
}

Config.HiddenClothesFemale = {
    components = {
        ['mask']      = { 0, 0 },
        ['arms']      = { 15, 0 },
        ['pants']     = { 15, 0 },
        ['bag']       = { 0, 0 },
        ['shoes']     = { 35, 0 },
        ['accessory'] = { 0, 0 },
        ['t-shirt']   = { 15, 0 },
        ['vest']      = { 0, 0 },
        ['decals']    = { 0, 0 },
        ['torso2']    = { 15, 0 },
    },
    props      = {
        ['hat']      = { -1, 0 },
        ['glass']    = { -1, 0 },
        ['ear']      = { -1, 0 },
        ['watch']    = { -1, 0 },
        ['bracelet'] = { -1, 0 },
    }
}

Config.SkinData = {
    model = 'mp_m_freemode_01',
    head_blend = {
        ['firstShape'] = 21,
        ['secondShape'] = 0,
        ['thirdShape'] = 0,
        ['firstSkin'] = 21,
        ['secondSkin'] = 0,
        ['thirdSkin'] = 0,
        ['shapeMix'] = 0.5,
        ['skinMix'] = 0.5,
        ['thirdMix'] = 0.5,
    },
    face_features = {
        ['eyebrow'] = { 0, 0 },
        ['eye_opening'] = 0,
        ['nose_width_peak'] = { 0, 0 },
        ['nose_length_tip'] = { 0, 0 },
        ['nose_twist_curveness'] = { 0, 0 },
        ['lip_thickness'] = 0,
        ['cheek_width_height'] = { 0, 0 },
        ['cheek_size'] = 0,
        ['jaw_width_shape'] = { 0, 0 },
        ['chin_length_height'] = { 0, 0 },
        ['chin_shape_hole'] = { 0, 0 },
        ['neck_thickness'] = 0,
    },
    eye_color = 0,
    head_overlays = {
        ['blemishes'] = { -1, 1.0 },
        ['facial_hair'] = { -1, 1.0, 0 },
        ['eyebrows'] = { 0, 1.0, 0 },
        ['ageing'] = { -1, 1.0 },
        ['makeup'] = { -1, 1.0, 0, 0 },
        ['blush'] = { -1, 1.0, 0 },
        ['complexion'] = { -1, 1.0 },
        ['sun_damage'] = { -1, 1.0 },
        ['lipstick'] = { -1, 1.0, 0 },
        ['moles_freckles'] = { -1, 1.0 },
        ['chest_hair'] = { -1, 1.0, 0 },
        ['body_blemishes'] = { -1, 1.0 },
        ['add_body_blemishes'] = { -1, 1.0 },
    },
    hair = { 0, 0, 0, 0, 1 },
    components = {
        ['mask'] = { 0, 0 },
        ['arms'] = { 0, 0 },
        ['pants'] = { 0, 0 },
        ['bag'] = { 0, 0 },
        ['shoes'] = { 0, 0 },
        ['accessory'] = { 0, 0 },
        ['t-shirt'] = { 0, 0 },
        ['vest'] = { 0, 0 },
        ['decals'] = { 0, 0 },
        ['torso2'] = { 0, 0 },
    },
    props = {
        ['hat'] = { -1, 0 },
        ['glass'] = { -1, 0 },
        ['ear'] = { -1, 0 },
        ['watch'] = { -1, 0 },
        ['bracelet'] = { -1, 0 },
    },
    tattoos = {
        ZONE_HEAD = {},
        ZONE_TORSO = {},
        ZONE_LEFT_ARM = {},
        ZONE_RIGHT_ARM = {},
        ZONE_LEFT_LEG = {},
        ZONE_RIGHT_LEG = {},
    },
}

exports('GetConfigSkinData', function()
    return Config.SkinData
end)

```

### Framework

```lua
Framework = {
    PlayerData = {},
    Jobs = {},
    Gangs = {},
}

function Framework.ESX()
    return GetResourceState("es_extended") ~= "missing"
end

function Framework.QBCore()
    return GetResourceState("qb-core") ~= "missing"
end

```
