> ## Documentation Index
> Fetch the complete documentation index at: https://docs.resrant-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exports

> List of available exports for the resource.

## Client Exports

### openOutfitMenu

Allows the player to only open the outfit menu.

```lua theme={null}
-- Example Usage:
exports["clothing"]:openOutfitMenu()
```

### openClothingMenu

Opens the main clothing menu with various options.

```lua theme={null}
-- Example Usage:
exports["clothing"]:openClothingMenu({
    payment = true,
    outfits = true,
    skin = nil, --if you want to set a default skin for the player
    resetskin = true, --resets the skin after payment
    saveskin = true, --save skin into database after payment
}, function(skin)
    -- callback
end, function()
    -- close callback
end)
```

**Props**

| Prop                  | Type       | Default | Description                                            |
| --------------------- | ---------- | ------- | ------------------------------------------------------ |
| `options`             | `table`    |         | A table containing configuration options for the menu. |
| *`options.payment`*   | `boolean`  | `true`  | Enables or disables the payment system.                |
| *`options.outfits`*   | `boolean`  | `true`  | Enables or disables the outfits system.                |
| *`options.skin`*      | `table`    | `nil`   | Sets a default skin for the player.                    |
| *`options.resetskin`* | `boolean`  | `true`  | Resets the skin after payment.                         |
| *`options.saveskin`*  | `boolean`  | `true`  | Saves the skin into the database after payment.        |
| `callback`            | `function` |         | Optional callback function executed after changes.     |
| `closeCallback`       | `function` |         | Optional callback function executed when menu closes.  |
