gta6/prompts
casino
Vaultintermediatecasino

Baccarat Table

ESX/QBCore punto-banco baccarat with player/banker/tie bets, automatic third-card rule and banker commission — all server-authoritative.

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 punto-banco baccarat table with player/banker/tie betting, the automatic third-card drawing rule and the standard 5% banker commission, all resolved on the server. Servers buy it because the third-card rule is the part everyone gets subtly wrong — a correct one reads as a premium high-roller table.

Prompt Template

You are writing a FiveM resource for esextended (stable, exports getSharedObject).

🔒 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/casino/06-baccarat-table.lua implements local bet selection, a server-side cardValue/handValue, the natural and simplified third-card draw rule, bet…

🔒 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-dealt hands — Claude deals and applies the third-card rule on the client; keep cardValue, handValue and the draw rule server-side.
  • Anim before load — the deal TaskPlayAnim no-ops unless the dict is loaded via RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net eventbaccarat:result on only one side never reveals the deal; both sides need RegisterNetEvent + AddEventHandler.

Corrective re-prompt: Deal both hands and apply the natural + third-card rule entirely in server.lua; the client may only send baccarat:deal and render the broadcast result. Escrow the bet with removeMoney before dealing, apply the 5% banker commission on the server, and reject invalid bet types. Guard the deal animation with RequestAnimDict + a HasAnimDictLoaded wait loop, and define baccarat:deal / baccarat:result with RegisterNetEvent + AddEventHandler on both sides.

Framework Integration

  • ESX: exports['es_extended']:getSharedObject(), then xPlayer.getMoney() / removeMoney / addMoney for bet escrow and payout.
  • QBCore: use exports['qb-core']:GetCoreObject() and Player.Functions.RemoveMoney('cash', amount) / AddMoney('cash', payout).
  • QBox: use exports.qbx_core:GetPlayer(src) with the shared Functions.AddMoney/RemoveMoney; identical server-side drawing rule.

Profit Potential

$150–$1800/mo on Tebex (expected ~$500). [INFERRED] priced inside the $50-389 FiveM script band against a stable high-roller niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100), with moderate supply.

Trend Signal

stable — inferred: high-roller staple, moderate Tebex supply.

Sales Angle

The high-roller table: correct third-card rule and banker commission that the cheap clones fudge. Recommended Tebex price $119.

Difficulty & Ship Time

intermediate · ships in 1 day.