Description
A mobile food truck business for ESX, QBCore or QBox: the owner drives anywhere, opens a service window, cooks menu items into server-owned stock, sells to walk-up players, and packs up to relocate. Servers buy it as the mobile, go-anywhere twist on the saturated fixed-restaurant script — a low-friction entry product for food RP.
Prompt Template
You are writing a FiveM resource for esextended (exports 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/business/30-mobile-food-truck.lua. It implements a server-owned truck table with open-state, stock and a menu price map, an owner-gated cook that…
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 stock/price — the client tracks stock and pays itself so a buyer eats free; keep open-state, stock, menu price and vault server-side.
- Anim before load — the cook
TaskPlayAnimno-ops if the dict is not loaded while stock still increments; alwaysRequestAnimDict+ aHasAnimDictLoadedwait loop. - One-sided notify —
truck:notifyon one side leaves the buyer without a result; both sides useRegisterNetEvent+AddEventHandler.
Corrective re-prompt: "Keep the truck's open flag, stock table, MENU prices and vault in server.lua, validate item against MENU on every handler, and in truck:requestBuy reject when closed, sold out, or the buyer can't afford the server-side price before debiting them and paying the owner — never trust a price or count the client sends."
Framework Integration
- ESX:
local ESX = exports['es_extended']:getSharedObject();xPlayer.getMoney()/removeMoneyfor the buyer andseller.addMoney(price)resolved viaGetPlayerFromIdentifier. - QBCore:
local QBCore = exports['qb-core']:GetCoreObject();Player.Functions.RemoveMoney('cash', price)/AddMoneyand key the owner bycitizenid. - QBox:
exports.qbx_core:GetPlayer(src); give cooked items as realox_inventorystock and attach the service window to the truck vehicle's coords.
Profit Potential
$250–$3000/mo on Tebex (expected ~$850). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), sized for a rising food-RP niche.
Trend Signal
↗ rising — inferred: Mobility (vs fixed restaurant) is the differentiator; rising from food-RP variety demand.
Sales Angle
Position as the mobile, go-anywhere twist on the saturated restaurant script — an easy entry product that upsells into a full food pack. Recommended Tebex price $69.
Difficulty & Ship Time
beginner · ships in 2-4h.