Description
A livery shop for QBCore vehicles that correctly handles GTA's two livery systems — the legacy SetVehicleLivery and the modern modkit livery (mod index 48) — applies a chosen index to the car the player is in, validates the range, and saves the selection so it reloads with the vehicle. Essential for emergency-service fleets and branded cars.
Prompt Template
You are writing a FiveM resource for QBCore. ONE Lua file, client + server sections.
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/vehicles/08-custom-liveries.lua implements dual-path livery detection, a range-checked /livery command, the modkit-first write order, and a server UPDATE…
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
- Legacy-only — Claude uses just
SetVehicleLivery, so modern modkit cars show nothing. Require theGetVehicleModCount(veh,48)branch. - No modkit init — skipping
SetVehicleModKit(veh, 0)makesSetVehicleModsilently fail; mandate it first. - Out-of-range index — applying an index beyond the count fails or wraps; clamp against the real max.
- No persistence — applying without saving means the livery is lost on respawn; require the server UPDATE + a restore event.
Integration Notes
client.lua + server.lua; fxmanifest.lua includes @oxmysql/lib/MySQL.lua and dependencies { 'qb-core', 'oxmysql' }. Add a livery column to player_vehicles and call livery:restore from your persistence/garage spawn. Test: sit in a liveried vehicle (e.g. police), run /livery 2, confirm it changes and the row updates.
Profit Potential
$180–$2500/mo on Tebex (expected ~$680). [INFERRED] A focused fleet and branding utility with a narrower buyer pool; priced low-mid in the band.
Trend Signal
↗ rising — vehicle modding/tuning niche-selection 3.75; corpus ox_fuel active.
Sales Angle
Target emergency-service and branded-fleet servers — it handles both modkit and legacy liveries with persistence. Recommend $99 on Tebex.
Difficulty & Ship Time
intermediate · ships in 4-6h.