Description
A client-side vehicle dashboard HUD. While the player is driving (not just sitting in) a vehicle, it pushes speed (converted from m/s to mph), fuel level, the current gear (with reverse shown as "R"), and RPM to an NUI dashboard. It sleeps when out of a vehicle to stay cheap, and reads fuel from LegacyFuel with a native fallback so it works across fuel resources.
Prompt Template
You are writing a FiveM CLIENT script: a vehicle HUD rendered via NUI. No…
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/ui/03-vehicle-hud.lua. It…
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
- All-seats HUD — gate on
GetPedInVehicleSeat(veh, -1) == pedso only the driver sees the dash. - Speed unit mistake —
GetEntitySpeedis m/s; multiply by 2.236936 (mph) or 3.6 (km/h), never use it raw. - Fuel hard dependency — wrap the LegacyFuel export in
pcallwith aGetVehicleFuelLevelfallback. - Per-frame loop out of car — sleep at
Wait(500)when not driving instead of polling every frame.
Integration Notes
- Place in
client/client.lua; declare aclient_scriptplusui_pageandfiles {}infxmanifest.lua. - Optional soft dependency on
LegacyFuel; otherwise the native fuel level is used. - Test on a dev server: spawn a car, drive it, watch speed/fuel/gear update; sit in the passenger seat to confirm the HUD stays hidden.
Profit Potential
$150–$2000/mo on Tebex (expected ~$500). [INFERRED] mid of the $50-389 band (signal-scraper corpus, median seller $11.85K/mo, n=100); speedometers are a perennial server want and cross-fuel compatibility widens demand.
Trend Signal
→ stable — [INFERRED] HUD/UI utilities are always-needed but commoditized.
Sales Angle
Sell as a cross-fuel speedometer and dashboard that drops onto any framework with a LegacyFuel-or-native fallback. Recommend $79 on Tebex.
Difficulty & Ship Time
intermediate · ships in 3-5h.