gta6/prompts
business
Vaultintermediatebusiness

Restaurant Kitchen & Order Tickets

QBCore restaurant with a craftable menu, a server-owned order-ticket queue routed kitchen-to-pass, and POS settlement.

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

Description

A restaurant job script that models the real flow of a kitchen: a customer order becomes a ticket, the ticket queues server-side, a cook crafts it through a timed animation, and the POS settles the bill against the customer's cash. Servers buy it because food RP is one of the densest job categories and a genuine ticket-queue mechanic stands out from the flood of one-prop food scripts.

Prompt Template

You are writing a FiveM resource for QBCore (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 at content/expected-outputs/business/08-restaurant-kitchen-tickets.lua implements a server-held ticket queue keyed by an incrementing id, a loaded cook animation gating the item…

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

  • Client-held queue β€” if tickets live client-side any worker mints free items. Keep tickets and menu on the server.
  • Unloaded cook anim β€” TaskPlayAnim before the dict loads skips the craft beat; require RequestAnimDict + wait-for-load.
  • Client-trusted total β€” never accept a bill amount from the client; sum menu prices server-side.

Corrective re-prompt: Move the tickets and menu tables into the server section, compute the settlement total by iterating the worker's cooked tickets server-side, and verify t.by == source before marking any ticket cooked so a worker cannot complete another's order.

Framework Integration

ESX: swap to exports['es_extended']:getSharedObject(), xPlayer.addInventoryItem, and esx_addonaccount for the society credit; gate the job with xPlayer.job.name. QBCore: native here β€” Player.Functions.AddItem, RemoveMoney('cash', n), exports['qb-management']:AddMoney('restaurant', n). QBox: identical to QBCore but resolve players with exports.qbx_core:GetPlayer(src) and credit via qbx_management.

Profit Potential

$90–$1200/mo on Tebex (expected ~$320). [INFERRED] priced inside the $50-389 standalone-script band against the signal-scraper corpus (tebex_snapshot n=100, median seller $11.85K/mo) for a saturated food-RP niche.

Trend Signal

β†˜ saturated β€” corpus: Food-RP restaurant scripts are a saturated top-seller category (scraper category density).

Sales Angle

In a crowded food category, lead with the mechanic competitors skip: a true order-ticket queue from pass to POS. Recommended Tebex price: $79.

Difficulty & Ship Time

intermediate Β· ships in 4-8h.