vi/raiser
appearance
appearance, GTA 6 style illustration
Vaultintermediateappearance

Personal Wardrobe (Save & Load Outfits)

QBCore wardrobe that reads the worn components/props, names and saves outfits server-side per character, and reloads any saved look at a home or apartment.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~123 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25
Unlock price
$199Vault

Unlock all 510 prompts

Profit potential / mosaturated
$320($90 to $1,200)

$50-389 script band, sized for a saturated niche; top sellers clear around $11.85K/mo.

Effort vs return
intermediate5-7h

Description

A working QBCore personal wardrobe: at a home or apartment the player reads their currently worn components and props, saves the look under a name, and reloads any saved outfit on demand. The named-outfit store is server-side and keyed per citizenid, so it survives relogs and can't be spoofed. Outfit save/load is bundled into the big appearance packs, so a standalone wardrobe sells on UI polish and a trustworthy persistence model.

Prompt Template

You are writing a FiveM resource for qb-core (exports['qb-core']:GetCoreObject()).

🔒 Eyes-only, locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth, both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$49 for 60 · $199 for all 510 + intelligence, one-time, no subscription.

Expected Output

The reference Lua lives at content/expected-outputs/appearance/05-personal-wardrobe-save.lua. It reads worn components and props into a serializable outfit, applies a loaded outfit cleanly, and a…

🔒 Eyes-only, locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth, both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$49 for 60 · $199 for all 510 + intelligence, one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-side store, Claude keeps outfits in a local table; they vanish on relog and can be spoofed. Store server-side keyed by citizenid.
  • Anim before load, the open pose no-ops if the dict isn't loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net event, wardrobe:save/wardrobe:apply on only one side breaks save or load; both sides use RegisterNetEvent + AddEventHandler.
  • Stale props, applying without ClearAllPedProps first leaves old hats/glasses on; clear props before re-applying.

Corrective re-prompt: "Move the wardrobe store into the server keyed by citizenid: wardrobe:list returns the saved names, wardrobe:save validates and stores the outfit table, wardrobe:load fires wardrobe:apply with the stored outfit. The client only reads/applies the ped; never keep outfits in a client table."

Framework Integration

  • ESX: swap to exports['es_extended']:getSharedObject() and key the wardrobe store by xPlayer.identifier.
  • QBCore: as written, Player.PlayerData.citizenid is the store key.
  • QBox: use exports.qbx_core:GetPlayer(src); the read/apply and store logic are identical.

Profit Potential

$90-$1200/mo on Tebex (expected ~$320), priced inside the $50-389 script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo); saturated because the big packs bundle it, but a standalone still moves on polish.

Trend Signal

↘ saturated, corpus: Outfit save/load is bundled in illenium-appearance; a standalone wardrobe still sells on UI/UX polish.

Sales Angle

The standalone named-outfit wardrobe with server-side persistence that survives relogs, sold to servers running a lighter appearance stack that still want trustworthy outfit saving. Recommended Tebex price $89.

Difficulty & Ship Time

intermediate · ships in 5-7h.