> For the complete documentation index, see [llms.txt](https://mstudio-1.gitbook.io/mstudio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mstudio-1.gitbook.io/mstudio/kz-resources/editor-15/config.md).

# Config

{% code title="config.lua" %}

```lua
Config = {}

Config.OutfitTheft = {
    targetSystem = 'ox_target',         -- 'ox_target' | 'qb-target'
    notifySystem = 'ox',                -- 'ox' | 'esx' | 'qb'
    Notifyposition = 'top-right',       -- Valid only for ox notification system
    allowIfTargetPlayingAnim = true,    -- Show interaction only if the target is performing one of these animations (requiredAnimations)
    requireWeapon = true,               -- Requires the player to have a weapon equipped in order to interact
    undressTarget = true,               -- true = makes the player undress | false = does not make the player undress

    requiredAnimations = {              -- Animations required for interaction
        { dict = "random@mugging3", anim = "handsup_standing_base" },               -- HANDS UP
        { dict = "dead", anim = "dead_a" },                                         -- DEAD
        { dict = "random@arrests@busted", anim = "idle_a" }                         -- SURRENDER                                         
    }
}

Config.OutfitChangeAnimation = {
    enabled = true,         -- true = performs costume change animation | false = it doesn't make you change clothes
    duration = 5000,        -- Duration of animation
    dict = 'mp_safehouseshower@male@',
    anim = 'male_shower_towel_dry_to_get_dressed',
}

Config.OutfitSlots = {
    drawableSlots = {1, 3, 4, 5, 6, 7, 8, 9, 10, 11},       -- Clothing slots (DO NOT TOUCH)
    propSlots = {0, 1, 2, 5, 6, 7}                          -- Accessory slots (DO NOT TOUCH)
}

Config.Naked = {
    [1885233650] = { -- Ped Men (hash)
        components = {
            [3] = 15, -- torso
            [4] = 61, -- legs
            [6] = 34, -- feet
            [8] = 15, -- undershirt
            [11] = 15, -- tops
        }
    },
    [-1667301416] = { -- Ped Woman (hash)
        components = {
            [3] = 15, -- torso
            [4] = 62, -- legs
            [6] = 35, -- feet
            [8] = 14, -- undershirt
            [11] = 18, -- tops
        }
    }
}

Config.Languages = {
    Interactions = {
        StealOutfit = 'Steal Outfit',
        ManageOutfit = 'Outfit Management',
    },

    Menu = {
        Title = "Clothing Management",
        WarningTitle = "WARNING!",
        WarningDescription = "Use this menu to individually remove clothing from the player. If an item is greyed out, it means it's already been removed.",

        RemoveJacket = "Remove Jacket",
        RemovePants = "Remove Pants",
        RemoveShoes = "Remove Shoes",
        RemoveHat = "Remove Hat",
        RemoveGlasses = "Remove Glasses",
        RemoveAccessories = "Remove Accessories",
        RemoveAccessoriesDesc = "Removes bracelets, watches, necklaces, earrings and similar",
        RemoveMask = "Remove Mask"
    },

    Notifications = {
        SameSexOnly = "You can only steal clothes from players of the same sex!",
        OutfitStolen = "You have stolen the outfit!",
    }
}
```

{% endcode %}
