gta6/prompts
appearance
Vaultintermediateappearance

Job Uniform Locker

ESX/QBCore/QBox locker that auto-equips the correct duty uniform by job and grade with a server-verified on/off-duty toggle.

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
~97 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A working job uniform locker: a player on duty walks to their station locker, and the correct uniform for their job and grade is equipped automatically, with a single toggle to drop back to civilian clothes. The job and grade are read server-side so nobody can equip another faction's gear. The selling point is clean ESX/QBCore/QBox parity plus grade-aware outfits, which is the quality bar for this category.

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/10-job-uniform-locker.lua. It implements a proximity duty toggle, a server-side job+grade lookup into a nested uniform table with 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-trusted job β€” Claude reads job/grade on the client to choose the outfit, letting anyone equip any uniform; do the lookup and selection server-side.
  • Grade ignored β€” hardcoding one uniform gives every rank the same gear; index by job then grade with a grade-0 fallback.
  • Anim before load β€” TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net event β€” define locker:requestUniform/locker:equipUniform on both sides with RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Move outfit selection to the server: read Player.PlayerData.job name and grade server-side, index Uniforms[job][grade] with a grade-0 fallback, reject jobs with no set, and only then TriggerClientEvent the chosen outfit. The client must never decide which uniform it is allowed to wear."

Framework Integration

  • ESX: exports['es_extended']:getSharedObject(); read job via xPlayer.getJob().name and .grade server-side, then index the same Uniforms table.
  • QBCore: as written β€” Player.PlayerData.job.name and Player.PlayerData.job.grade.level.
  • QBox: use exports.qbx_core:GetPlayer(src) then player.PlayerData.job; outfit application is identical.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a stable utility category where multi-framework parity drives the sale.

Trend Signal

β†’ stable β€” corpus: Job-grade locker outfits ship with every framework job pack; ESX/QBCore/QBox parity is the quality bar (niches.md Niche 4).

Sales Angle

The universal job locker with true ESX/QBCore/QBox parity and grade-aware outfits β€” the parity itself is the differentiator. Recommended Tebex price $119.

Difficulty & Ship Time

intermediate Β· ships in 3-5h.