STG ScriptsDocumentation
UI PackAppearance

Appearance

STG UI Pack character creator, clothing store, barber, tattoo parlor and plastic surgeon with wardrobe, photo cards and skinchanger compatibility.

UI Pack: Appearance

STG UI Pack: Appearance

ESXQBCoreQBOX
View in store

Character creator, clothing store, barber, tattoo parlor, plastic surgeon and wardrobe in one resource: stg-appearance.

Saved looks

FrameworkWhereExisting looks
QBOX / QBCoreplayerskins table (created if missing)Same format as illenium-appearance, they keep working
ESXusers.skinLooks saved by skinchanger / esx_skin are converted when they load

Tattoos are read from the game itself, so every DLC tattoo shows up without a data file.

Configuration

stg-appearance/shared/config.lua:

SettingWhat it does
Config.Language, Config.BrandLanguage and accent colour
Config.MetaClothing'auto': bought clothes go to the inventory as items when the Inventory skin and its clothing items are installed. false: always worn right away
Config.Photos'auto': photo cards when uz_AutoShot has the photos, false: arrow buttons
Config.AdminMenu/skinmenu, every tab for free for staff groups
Config.CreatorTabs and start clothes for new characters
Config.ReloadCommand/reloadskin reloads the saved look

stg-appearance/shared/shops.lua: every shop with its blip, price and the way it opens (ox_target, qb-target or an E prompt). The price is paid from cash, then bank, when the player saves.

Exports (client)

exports['stg-appearance']:openCreator(gender, onFinish) -- new character, cannot be closed without saving
exports['stg-appearance']:openShop(shopType)
exports['stg-appearance']:isMenuOpen()
exports['stg-appearance']:getPedAppearance(ped)
exports['stg-appearance']:setPedAppearance(ped, appearance)
exports['stg-appearance']:setPlayerAppearance(appearance)
exports['stg-appearance']:setPlayerModel(model)
exports['stg-appearance']:getPedTattoos()

Events

EventSide
stg-appearance:client:creatorFinishedClient
stg-appearance:server:creatorFinishedServer
stg-appearance:server:saved (source, identifier, mode)Server, mode is esx when an ESX script saved through esx_skin:save

Still having trouble?

Open a ticket on our Discord. Our team answers around 15 hours a day.

Get help on Discord

On this page