Description
A ride-hailing phone app: a rider requests a pickup, gets a server-calculated fare with live surge pricing, is matched to an on-duty driver with an ETA, and both parties rate each other afterward. It is the rider-facing marketplace layer over any taxi job, turning a static gig into a supply/demand economy.
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/21-ride-hailing-app.lua. It implements a server fare estimate with a live surge multiplier from the driver/rider ratio, a re-validated fareβ¦
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 fare β Claude computes fare/surge and pays the driver on the client; fares are forged. Keep fare math, surge and payout server-side and re-compute on confirm.
- 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
ride:matched/driverInboundon only one side breaks dispatch; both client and server useRegisterNetEvent+AddEventHandler.
Corrective re-prompt: "Move all fare logic to the server: compute base + distance*rate * surge, re-validate the fare on confirm (ignore the client's quoted value), removeMoney once, pay the driver cut once, and store ratings as sum/count. The client must only request, render and play the wave anim. Never price or pay from the client."
Framework Integration
- ESX: as written β
exports['es_extended']:getSharedObject(),xPlayer.removeMoney(fare)anddriver.addMoney(cut). - QBCore: swap to
exports['qb-core']:GetCoreObject(),Player.Functions.RemoveMoney('cash', fare)andPlayer.Functions.AddMoney('cash', cut); match viaQBCore.Functions.GetPlayersOnDuty('taxi'). - QBox: use
exports.qbx_core:GetPlayer(src)thenplayer.Functions.RemoveMoney/AddMoney; surge and ratings 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 taxi-RP niche with steady unit volume.
Trend Signal
β stable β strategy: MASTER-200 id-037 Ride-Hailing App verbatim (MASTER-200.md:117); steady taxi-job pairing.
Sales Angle
The rider-side companion to any taxi job β surge pricing and ratings turn a static gig into a live marketplace. Recommended Tebex price $189.
Difficulty & Ship Time
intermediate Β· ships in 3-5h.