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
| Parameter | Type | Optional | Description |
|---|---|---|---|
cb | function | No | Callback function invoked with appearance table upon save. |
config | table | Yes | Optional initial settings table. |
💻 Example
exports['kartik-clothing']:startPlayerCustomization(function(appearance)
if appearance then
print("Player saved appearance customization!")
end
end, { gender = 'female' })