Server
Save and load a player's appearance from other scripts.
Illenium Appearance Remaster
Pricing, previews and purchase options on the store.
There are no server exports. These are the server event and callback other scripts use.
For client exports see Client.
Appearance
illenium-appearance:server:saveAppearance
Saves the appearance as the player's active one. Trigger it from the client, the player who triggers it is the one saved.
---@param appearance table Full appearance
TriggerServerEvent('illenium-appearance:server:saveAppearance', appearance)illenium-appearance:server:getAppearance
ox_lib callback. Returns the player's saved appearance, or the one saved for model (QB and ox only, ESX keeps one appearance).
---@param model? string Model name, defaults to the active appearance
---@return table? appearance
local appearance = lib.callback.await('illenium-appearance:server:getAppearance', false)