Clothing and society accounts
These entries are in editable/framework.lua; restoreAppearance is in editable/client.lua.
| Entry | Use it when | Receives | Returns |
|---|---|---|---|
openAppearance | Your clothing script is not illenium-appearance. | src | true if the menu opened |
societyBalance | Your banking script is not detected. | kind ('job'/'gang'), name | Balance, or false if no account |
EditableServer.societyBalance = { custom = true, fn = function(kind, name) return tonumber(exports['my_banking']:GetAccountBalance(name)) or false end,}Ped model reset
Section titled “Ped model reset”When staff change a player’s ped model (player card → Ped model), Reset to default loads the player’s
saved look again. Fiveops does this by itself with illenium-appearance, qb-clothing and esx_skin +
skinchanger. If none of them runs, or the script refuses (for example while the player is in a vehicle), Fiveops
puts back the look it saved on the player’s game before the first change: model, clothes, face, hair and makeup.
Tattoos come back only through the clothing script.
Use restoreAppearance in editable/client.lua when your clothing script is another one. It runs on the player’s
game and returns true when your script was asked to load the look.
EditableClient.restoreAppearance = { custom = true, fn = function() TriggerEvent('my_clothing:client:reloadSkin') return true end,}