Client
All client-side events, triggers, and exports for rcore_clothing.
Events
onClothingShopOpened
Fires before the clothing shop UI opens.
AddEventHandler('rcore_clothing:onClothingShopOpened', function()
-- do something before shop opens
end)onClothingShopClosed
Fires after the clothing shop UI closes.
AddEventHandler('rcore_clothing:onClothingShopClosed', function()
-- do something after shop closes
end)afterSkinLoaded
Fires when the player's skin is applied - on spawn or after /reloadskin.
AddEventHandler('rcore_clothing:afterSkinLoaded', function()
-- do something after skin is loaded
end)charcreator:done
Fires when the player completes the character creator.
AddEventHandler('rcore_clothing:charcreator:done', function()
-- do something after character creator is finished
end)onItemPurchase
Fires when a player buys a clothing item.
This script does not support clothing as items. Do not use this event to build an item-based integration.
Triggers
reapplyDecorations
Re-applies clothing decorations. The script already preserves non-clothing decorations when clearing, so this is rarely needed.
openClothingShopWithEverythingAndFree
Opens a shop with all items available for free. Intended for admins.
openJobChangingRoom
Opens a job changing room. Outfits must be created first using the Outfit Editor.
Exports
getPlayerSkin
Returns the player's current skin. Set includeCharacter to true to include face, hair, etc.
Last updated