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)
Props
PropTypeDefaultDescription
optionstableA table containing configuration options for the menu.
options.paymentbooleantrueEnables or disables the payment system.
options.outfitsbooleantrueEnables or disables the outfits system.
options.skintablenilSets a default skin for the player.
options.resetskinbooleantrueResets the skin after payment.
options.saveskinbooleantrueSaves the skin into the database after payment.
callbackfunctionOptional callback function executed after changes.
closeCallbackfunctionOptional callback function executed when menu closes.