gta6/prompts
appearance
Vaultbeginnerappearance

Clothing Store with Try-On

QBCore category try-on shop that snapshots the original outfit, previews garments live, and writes the purchase to the player appearance only after the server charges.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~113 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A working QBCore clothing store: the player browses tops, legs and shoes, tries garments on live, and on purchase the bought items stay applied while cancel cleanly restores the outfit they walked in with. The server snapshots a cart total and charges before confirming. Clothing stores are the highest-volume appearance listing on Tebex, so the differentiator is a frictionless try-on with a guaranteed restore.

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/04-clothing-store-tryon.lua. It snapshots the original components on open, previews garments per category, restores on cancel, 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

  • Free try-on β€” Claude leaves previewed garments on with no charge; total the cart and RemoveMoney server-side before confirming.
  • Anim before load β€” the browse pose no-ops if the dict isn't loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • No restore on cancel β€” without an original-outfit snapshot, cancel leaves the player in unpaid clothes; snapshot on open and restore on cancel.
  • One-sided net event β€” clothing:buy/clothing:bought on only one side breaks checkout; both sides use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "In the server clothing:buy handler, sum the cart from a UnitPrice table, verify GetMoney('cash') covers it, RemoveMoney once and only then fire clothing:bought so the garments stay on. On cancel the client must restore the snapshot taken at open; never let a player keep unpaid clothes."

Framework Integration

  • ESX: swap to exports['es_extended']:getSharedObject() and charge with xPlayer.removeMoney(total) after a money check.
  • QBCore: as written β€” Player.Functions.RemoveMoney('cash', total, 'clothing-store').
  • QBox: use exports.qbx_core:GetPlayer(src) then player.Functions.RemoveMoney('cash', total); preview/restore logic is identical.

Profit Potential

$80–$1200/mo on Tebex (expected ~$300). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); the highest-volume appearance category, so steady units but heavy competition.

Trend Signal

β†˜ saturated β€” corpus: Clothing store is the highest-volume appearance listing on Tebex; baseline buy/try-on the scraper tracks as a category.

Sales Angle

The try-before-you-buy clothing store with a guaranteed restore-on-cancel and server-charged checkout β€” sold to servers that want a clean shopping loop without exploit holes. Recommended Tebex price $79.

Difficulty & Ship Time

beginner Β· ships in 2-4h.