Description
A rank/cert-gated police armory: officers open the armory at a fixed coord, the server returns only the catalog their rank allows, and each checkout mints a serial number with ammo accounting and auto-returns on clock-out. It outsells the stock armory by adding serials and accounting an internal-affairs review can actually audit.
Prompt Template
You are writing a FiveM resource (client.lua + server.lua) for a rank-gated police…
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 at content/expected-outputs/police/21-police-armory-rank-loadout.lua implements a server-owned rank catalog, an allowed-item gate on checkout, a server-side serial sequence with 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-side catalog/grant — building the catalog and granting weapons locally lets anyone pull a rifle; the server owns the rank catalog and the allowed-item check.
- Client-side serials — tracking serials and issued items on the client makes returns and accounting unenforceable; keep both server-side.
- Bad ped handle — GiveWeaponToPed on GetPlayerPed(-1) or a not-yet-spawned ped fails; use PlayerPedId() in the issued handler.
Corrective re-prompt: "Move the rank catalog and the allowed-item check entirely server-side: the server validates getRank(src) against RankCatalog on every checkout, mints the serial from a server-side sequence, stores it in a per-officer issued registry, and clears that registry on playerDropped and clock-out. The client only renders the catalog the server sends."
Framework Integration
- ESX: resolve
exports['es_extended']:getSharedObject()and derive rank fromxPlayer.job.grade; pair withox_doorlockon the armory door. - QBCore: use
exports['qb-core']:GetCoreObject()andPlayer.PlayerData.job.grade.level; add weapons viaox_inventory/qb-inventory. - QBox: call
exports.qbx_core:GetPlayer(src)and store serials asox_inventorymetadata so the serial follows the weapon item.
Profit Potential
$150–$2000/mo on Tebex (expected ~$560). [INFERRED] priced inside the $50-389 FiveM script band for a stable armory staple; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100).
Trend Signal
→ stable — corpus: Rank-gated armory rooms are the canonical ox_doorlock + ox_inventory use case; steady staple, differentiate on serials/accounting.
Sales Angle
Position above the stock armory: serial-numbered checkout and ammo accounting that survives an internal-affairs audit. Recommended Tebex price $139.
Difficulty & Ship Time
intermediate · ships in 1 day.