gta6/prompts
phone
Vaultbeginnerphone

Services Dispatch App

ESX/QBCore/QBox phone app: a non-emergency request board routing mechanic/tow/taxi/EMS jobs to on-duty workers with ETA and accept/decline.

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

Description

A non-emergency request board where a player posts a mechanic, tow, taxi, or EMS request and only on-duty workers of that service receive the job, accept or decline it, and get the requester's waypoint plus an ETA. The server owns the open-request queue and the assign transition so a job is claimed exactly once. It is steady civilian-RP glue that keeps service jobs fed with real demand.

Prompt Template

You are writing a FiveM resource for esx/qb-core/qbox.

πŸ”’ 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/28-services-dispatch-app.lua. It implements a server-owned request queue, duty-filtered job push, a single-claim accept transition with a…

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

  • Double-claim race β€” Claude lets the client mark itself assigned; two workers claim one job. Flip status to assigned on the server only if it is still open.
  • 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 services:newJob/accepted on only one side breaks the dispatch round-trip; both client and server use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Make the server the single source of the job queue: only push services:newJob to workers whose OnDuty type matches, and on accept require the job is still 'open' and the actor is on duty before flipping it to 'assigned' once. Reject any second accept. The client must never set its own assignment."

Framework Integration

  • ESX: set duty from xPlayer.job.name/onDuty via exports['es_extended']:getSharedObject(); service types map to ESX job names.
  • QBCore: use exports['qb-core']:GetCoreObject() and Player.PlayerData.job.onduty to drive services:setDuty.
  • QBox: use exports.qbx_core:GetPlayer(src) and player.PlayerData.job.onduty; the queue and accept 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 civilian-RP niche with steady unit volume.

Trend Signal

β†’ stable β€” inferred: Connects players to on-duty job workers; steady civilian-RP glue.

Sales Angle

The civilian-RP glue that keeps mechanic/tow/taxi/EMS jobs busy with real player-posted demand and clean accept/decline. Recommended Tebex price $129.

Difficulty & Ship Time

beginner Β· ships in 3-4h.