gta6/prompts
casino
Vaultadvancedcasino

Texas Hold'em Poker Room

ESX/QBCore multiplayer Hold'em cash game with blinds, server-side pot math, betting rounds and showdown hand evaluation.

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

Description

A multiplayer Texas Hold'em cash-game room with blinds, real betting rounds (call/fold/raise) and a server-side showdown that awards the pot. Servers buy it because the pot accounting and winner evaluation run on the server, which is exactly where the cheap clones cut corners and leak money.

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/03-texas-holdem-poker-room.lua implements proximity seating with a posted blind, a per-source hole/contribution table, server-side call/fold/raise…

πŸ”’ 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-trusted pot β€” Claude tracks the pot or winner on the client; keep the deck, contributed math and settle() 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 event β€” poker:tableState on only one side breaks the pot sync; both sides need RegisterNetEvent + AddEventHandler.

Corrective re-prompt: Hold the deck, every player's contribution, the pot and the showdown in server.lua keyed by source; the client may only send actions and render the broadcast poker:tableState. Validate each call/raise against getMoney() before moving money, and pay the winner only from the server. Guard the deal animation with RequestAnimDict + a HasAnimDictLoaded wait loop, and define every round-trip event with RegisterNetEvent + AddEventHandler on both sides.

Framework Integration

  • ESX: exports['es_extended']:getSharedObject(), then xPlayer.getMoney() / removeMoney / addMoney for blinds, bets and the pot payout.
  • QBCore: use exports['qb-core']:GetCoreObject() and Player.Functions.RemoveMoney('cash', owed) / AddMoney('cash', pot).
  • QBox: use exports.qbx_core:GetPlayer(src) with the shared Functions.AddMoney/RemoveMoney; identical server-authoritative pot flow.

Profit Potential

$160–$1200/mo on Tebex (expected ~$480). [INFERRED] priced inside the $50-389 FiveM script band against a saturated core-table niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100), with a premium for correct pot math.

Trend Signal

β†˜ saturated β€” strategy: id-028 names poker; synced multiplayer pot logic is the quality moat in a saturated field.

Sales Angle

The pot-math moat: server-owned blinds, side-pot accounting and showdown that the cheap clones get wrong. Recommended Tebex price $149.

Difficulty & Ship Time

advanced Β· ships in 2 days.