gta6/prompts
ui
Coreintermediateui

Phone Notification Banner

A phone-style notification banner with app icon, sender and message, an arrival sound, and a server export to push to any player.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~51 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-24

Description

A phone notification banner in the GTA-online style: an app icon, a sender, and a message slide in with an arrival tone and auto-dismiss. The client renders it via NUI and exposes a showBanner export; the server exposes sendPhoneNotify(playerId, data) so any job, dealer, or messaging resource can push a notification to a specific player.

Prompt Template

You are writing a FiveM resource: a phone-style notification banner 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/10-phone-banner.lua. The…

🔒 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

  • Missing client bridge — the server TriggerClientEvent('phone:notify') needs a matching RegisterNetEvent client-side, or nothing appears.
  • Silent tonePlaySoundFrontend needs a real sound set (Phone_SoundSet_Default) and bank, or it plays nothing.
  • No auto-dismiss — always pass and honour a duration so banners clear.
  • Unbounded message — clamp/trim long messages so the banner layout doesn't overflow.

Integration Notes

  • Split into real client.lua and server.lua; list both plus the ui_page / files {} in fxmanifest.lua.
  • No framework dependency; other resources call exports['phone']:sendPhoneNotify(src, {...}) or trigger phone:relay.
  • Test: run /testphone for the local banner, then from the server console trigger phone:relay toward a player id and confirm it arrives with sound.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] mid of the $50-389 band (tebex_snapshot, median seller $11.85K/mo, n=100); phone notification banners ride the large phone-resource ecosystem as an add-on, steady demand.

Trend Signal

stable — [INFERRED] HUD/UI utilities are always-needed but commoditized.

Sales Angle

Position as a phone-ecosystem notification banner with a server push export so any job, dealer, or messaging resource can reach a player. Recommend $69 on Tebex.

Difficulty & Ship Time

intermediate · ships in 3-5h.