Description
A food-delivery phone app: customers browse menus from owned restaurants, place an order that holds payment server-side, and the system auto-dispatches the order to an on-duty courier as a paid gig with live status tracking. It bridges the restaurant and courier economies into one loop civilian-RP servers expect.
Prompt Template
You are writing a FiveM resource for esextended (exports['esextended']:getSharedObject()).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access β pay once
- All 510 prompts β the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates β new niches as the market moves
$49 for 60 Β· $199 for all 510 + intelligence β one-time, no subscription.
Expected Output
The reference Lua lives at content/expected-outputs/phone/20-food-delivery-app.lua. It implements server-priced menus, a payment hold on order, per-order courier assignment with aβ¦
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access β pay once
- All 510 prompts β the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates β new niches as the market moves
$49 for 60 Β· $199 for all 510 + intelligence β one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Client-trusted economy β Claude prices and pays on the client; totals and tips get forged. Keep pricing,
removeMoneyand the courier payout server-side. - Anim before load β
TaskPlayAnimno-ops if the dict is not loaded; alwaysRequestAnimDict+while not HasAnimDictLoaded(dict) do Wait(0) end. - One-sided net event β defining
food:courierGig/orderStatuson only one side breaks the courier round-trip; both client and server useRegisterNetEvent+AddEventHandler.
Corrective re-prompt: "Move all pricing and payment to the server: compute the total from the menu, removeMoney once on order, store a per-order state machine, assign a courier, and pay the courier cut only on courierDelivered. The client must only render menus, status and play the carry anim. Never compute totals or pay from the client."
Framework Integration
- ESX: as written β
exports['es_extended']:getSharedObject(),xPlayer.removeMoney(total)andcourier.addMoney(cut). - QBCore: swap to
exports['qb-core']:GetCoreObject(),Player.Functions.RemoveMoney('cash', total)andPlayer.Functions.AddMoney('cash', cut); useQBCore.Functions.GetPlayersOnDuty('courier')for assignment. - QBox: use
exports.qbx_core:GetPlayer(src)thenplayer.Functions.RemoveMoney/AddMoney; order state machine is 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: Bridges restaurant + courier economies; steady civilian-RP demand.
Sales Angle
The glue between restaurant ownership and the courier job β one app that turns two existing economies into a live gig loop. Recommended Tebex price $179.
Difficulty & Ship Time
intermediate Β· ships in 3-5h.