gta6/prompts
phone
Vaultintermediatephone

Phone Hardware Tiers & Signal/Battery

ESX/QBCore/QBox phone hardware tiers with server-owned battery drain, chargers, and zone-based signal bars that gate calls and data.

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
~106 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

Phone hardware tiers where each model drains battery at a different rate, chargers top it up, and location-based signal bars gate whether calls and data work at all. It sells to immersion-first servers because a dying battery and a dead zone turn the phone from a free utility into a tactical liability — counterplay for crime loops and a reason to buy a better model.

Prompt Template

You are writing a FiveM resource for phone hardware tiers with battery, chargers, and…

🔒 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/phone/04-phone-signal-battery-tiers.lua. It implements a client position-poll that recomputes signal from dead-zone distance, a server-owned…

🔒 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 & Corrective Prompt

  • Client-side battery — draining/charging client-side lets a player pin battery at 100%; own the level and the drain tick on the server.
  • Per-frame drain — draining every frame melts the battery and spams syncs; drain on a Wait(60000) server tick.
  • Stale signal — computing signal once at open ignores movement; recompute on a position poll.

Corrective re-prompt: "Move Hardware[src] and the drain loop into server.lua on a Wait(60000) tick, recompute signal client-side on a position poll against DeadZones, and refuse phoneHw:placeCall when battery <= 0."

Framework Integration

  • ESX: ESX = exports['es_extended']:getSharedObject(); load the player's tier from metadata on esx:playerLoaded.
  • QBCore: QBCore = exports['qb-core']:GetCoreObject(); store tier in PlayerData.metadata.phonetier and persist battery on logout.
  • QBox: exports.qbx_core:GetPlayer(src); read the tier from the phone item's metadata so a better handset is an inventory item.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), scaled for a rising niche.

Trend Signal

rising — inferred: Immersion + crime-counterplay mechanic with few mature options; rising hardcore-RP demand.

Sales Angle

Hardcore-RP immersion add-on — dead zones and dying batteries that make the phone a real liability and give a reason to upgrade handsets. Recommended Tebex price $89.

Difficulty & Ship Time

intermediate · ships in 5-8h.