Kartik Scripts

startPlayerCustomization

Compatibility export matching illenium-appearance. Opens player customization UI and executes a callback function upon submission.

💡 Syntax

exports['kartik-clothing']:startPlayerCustomization(cb, config)

📥 Parameters

ParameterTypeOptionalDescription
cbfunctionNoCallback function invoked with appearance table upon save.
configtableYesOptional initial settings table.

💻 Example

exports['kartik-clothing']:startPlayerCustomization(function(appearance)
    if appearance then
        print("Player saved appearance customization!")
    end
end, { gender = 'female' })

On this page