Server Events
lb-appearance:appearanceSaved
Triggered when a character’s appearance is saved to the database.
---@param identifier string
---@param appearance Appearance
AddEventHandler("lb-appearance:appearanceSaved", function(identifier, appearance)
print("Appearance saved:", identifier, appearance.model)
end)lb-appearance:purchased
Triggered when a player pays for their changes in a store.
---@class ClothingPiece
---@field type "components" | "props"
---@field id integer # Component id or prop id
---@field collection string
---@field drawable integer
---@field texture integer
---@param source number
---@param price number
---@param purchases ClothingPiece[] # The clothes that were bought
AddEventHandler("lb-appearance:purchased", function(source, price, purchases)
print(source, "paid", price, "for", #purchases, "pieces of clothing")
end)