vi/raiser
ui
ui, GTA 6 style illustration
Coreintermediateui

Context / Radial Menu (NUI)

A hold-to-open NUI radial menu with configurable wedges, NUI callbacks for actions, and clean focus release.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~57 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-24
Unlock price
$49Core Pack

Unlock 48 core prompts

Profit potential / mostable
$500($150 to $2,000)

$50-389 script band, sized for a stable niche; top sellers clear around $11.85K/mo.

Effort vs return
intermediate4-6h

Description

A radial / context menu built on NUI. The player holds a key (Left Alt) to open a ring of configurable wedges; clicking one fires an action, playing an animation locally or forwarding a named event for other resources to handle, and releasing the key closes the menu and returns control. It is the interaction backbone for emotes, vehicle actions, and job menus.

Prompt Template

You are writing a FiveM CLIENT script: a radial/context menu via NUI. No…

🔒 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/ui/04-radial-menu.lua. It…

🔒 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

  • Stuck NUI focus, every SetNuiFocus(true,true) needs a matching (false,false) on close, or the player is frozen.
  • Forgotten cb(), an NUI callback that never calls cb hangs the JS fetch. Always invoke it.
  • No key bind, RegisterCommand alone gives no key; pair it with RegisterKeyMapping and a +/- command for hold-to-open.
  • Unloaded anim dict, TaskPlayAnim before RequestAnimDict + a HasAnimDictLoaded wait loop plays nothing.

Integration Notes

  • Place in client/client.lua; add a client_script, ui_page, and files {} in fxmanifest.lua.
  • No framework dependency; the radial:action event lets other resources hook in.
  • Test: hold Left Alt to open the ring, click a wedge, release to close, and confirm your mouse is returned to the game.

Profit Potential

$150-$2000/mo on Tebex (expected ~$500), mid-to-upper of the $50-389 band (Tebex, median ~$11.85K/mo); a reusable radial menu is high-leverage infrastructure many resources build on.

Trend Signal

stable, HUD/UI utilities are always-needed but commoditized.

Sales Angle

Position as the interaction backbone for emotes, vehicle actions, and job menus that other scripts hook via the radial:action event. Recommend $89 on Tebex.

Difficulty & Ship Time

intermediate · ships in 4-6h.