Client Exports
openOutfitMenu
Allows the player to only open the outfit menu.-- Example Usage:
exports["clothing"]:openOutfitMenu()
openClothingMenu
Opens the main clothing menu with various options.-- 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)
| 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. |

