Description
A QBCore outfit marketplace: players walk to a market terminal, export their current outfit into a short shareable code, list any code for sale at a price, and buy listed codes — the purchase debits the buyer, pays the seller and applies the look. It is the compounding, player-driven cosmetic economy that outlasts a flat buy-only clothing shop.
Prompt Template
You are writing a FiveM resource for qb-core (exports['qb-core']:GetCoreObject()).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua lives at content/expected-outputs/appearance/13-outfit-code-marketplace.lua. It implements client-side outfit capture and apply with a terminal browse anim, and a…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Client-trusted market — Claude keeps listings and runs money transfer on the client; a packet mints codes and pays the seller for free. Keep codeStore, listings and AddMoney/RemoveMoney server-side.
- Apply before round-trip / anim before load — the bought outfit applies before
outfit:applyreturns, or the browse anim no-ops withoutRequestAnimDict+while not HasAnimDictLoaded(dict) do Wait(0) end. - One-sided net event — defining
outfit:export/outfit:applyon only one side breaks the export-then-apply round-trip; both sides useRegisterNetEvent+AddEventHandler.
Corrective re-prompt: "Move all listings, codes and money to the server: store codeStore + listings server-side, and on outfit:buy call Player.Functions.RemoveMoney on the buyer and AddMoney on the seller before TriggerClientEvent('outfit:apply'). The client may only read its own outfit and render what the server returns."
Framework Integration
- ESX: swap to
exports['es_extended']:getSharedObject()and usexPlayer.removeMoney(price)/ sellerxPlayer.addMoney(price)in the buy handler. - QBCore: as written —
Player.Functions.RemoveMoney('bank', price, 'outfit-buy')and sellerAddMoney('bank', price, 'outfit-sale'). - QBox: use
exports.qbx_core:GetPlayer(src)thenplayer.Functions.RemoveMoney/AddMoney; codeStore and listing logic are identical.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a rising outfit-economy niche carries compounding demand.
Trend Signal
↗ rising — strategy: A player outfit economy (export/sell codes) is a defensible compounding mechanic beyond commodity buy-only shops.
Sales Angle
The outfit ECONOMY that turns cosmetics into a player-driven market every social-RP server wants — sellable codes, not a flat catalog. Recommended Tebex price $329.
Difficulty & Ship Time
advanced · ships in 1 day.