gta6/prompts
phone
Vaultadvancedphone

Find-My-Device & Police Phone-Tracking

QBCore/QBox app: owner anti-theft device ping plus warrant-gated police cell-triangulation that resolves a target phone's approximate position.

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

Description

A dual-mode tracking app: civilians ping their own lost or stolen device for an anti-theft locate, while on-duty police run a cell-triangulation that only resolves a target's approximate position when an active warrant exists for them. The job gate, warrant check, and position resolution all live server-side so the trace can never be abused. It pairs naturally with a police MDT, which is the audience that buys it.

Prompt Template

You are writing a FiveM resource for qb-core (exports['qb-core']:GetCoreObject()).

πŸ”’ 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/29-find-my-device-tracking.lua. It implements a server-side police+warrant gate, a request/report/resolve round-trip that reads the target's…

πŸ”’ 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

  • Ungated trace β€” Claude lets any client trace and trusts client-sent coords; anyone locates anyone. Gate on isPolice + an active server-stored warrant and resolve position via a server-mediated round-trip.
  • Anim before load β€” TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net event β€” defining fmd:reportPosition/showPing on only one side breaks the position round-trip; both client and server use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Move all tracking authority to the server: on requestTrace require the caller is on-duty police and the target has an active, unexpired warrant, then resolve the target's position through a server-issued reqId round-trip and only send the (jittered) ping back to the original requester. Never trust a client-claimed target position or skip the warrant check."

Framework Integration

  • ESX: swap to exports['es_extended']:getSharedObject() and gate with xPlayer.job.name == 'police'; store warrants in the same server table.
  • QBCore: as written β€” exports['qb-core']:GetCoreObject(), Player.PlayerData.job.name/onduty for the police gate.
  • QBox: use exports.qbx_core:GetPlayer(src) then player.PlayerData.job; the warrant and triangulation logic are identical.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a stable police-RP niche whose MDT pairing supports steady volume.

Trend Signal

β†’ stable β€” corpus: Pairs with MDT ecosystem β€” signal-scraper tracks ox_mdt; MASTER-200 id-076 Police MDT (MASTER-200.md:171); qb/qbox + police-MDT audience.

Sales Angle

The lawful-tracking companion to a police MDT β€” warranted cell-triangulation plus a civilian anti-theft device ping. Recommended Tebex price $279.

Difficulty & Ship Time

advanced Β· ships in 1 day.