Description
A square minimap + hide-on-foot tweak that replaces the round radar mask with a square frame, hides the minimap when the player is on foot, and toggles that behaviour with a runtime command. The component offsets are resolution-aware so the frame stays aligned across aspect ratios. It's a saturated micro-niche, so this one differentiates on a clean config and toggle.
Prompt Template
You are writing a FiveM resource: a square minimap with hide-on-foot.
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/22-square-minimap-toggle.lua. It waits for the squaremap texture dict before applying the mask, positions the minimap components by aspect…
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
- Premature texture swap — wait for
HasStreamedTextureDictLoadedbeforeAddReplaceTexture. - CPU burn — check radar state on a 250ms
Wait, not every frame. - Single-resolution offsets — derive component positions from
GetAspectRatioso ultrawide stays aligned.
Corrective re-prompt: "Guard AddReplaceTexture with while not HasStreamedTextureDictLoaded('squaremap') do Wait(0) end so the mask actually applies. Move the DisplayRadar logic into a Wait(250) loop keyed off IsPedInAnyVehicle(PlayerPedId(), false), and base the SetMinimapComponentPosition offsets on GetAspectRatio so non-16:9 displays line up."
Framework Integration
- ESX: Layer it under
esx_hud— callapplySquareMinimapafteresx:playerLoadedso it survives HUD re-init. - QBCore: Pair with
qb-hud; re-apply the mask onhud:client:LoadMapto avoid round-radar flicker. - QBox: Re-run
applySquareMinimapafter theqbxHUD resource starts so the frame isn't overwritten.
Profit Potential
$80–$1000/mo on Tebex (expected ~$250). [INFERRED] priced within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo) for a saturated micro-niche.
Trend Signal
↘ saturated — strategy: Category niche-matrix names 'minimap'; square/hide-on-foot is a mature, saturated micro-niche — differentiate on config.
Sales Angle
Don't sell it standalone — fold it into a HUD pack as the "modern square radar" feature, where the toggle and resolution-awareness justify the bundle. Recommended Tebex price $49.
Difficulty & Ship Time
beginner · ships in 2-4h.