gta6/prompts
casino
Vaultintermediatecasino

Three Card Poker

ESX/QBCore Three Card Poker vs the dealer with server-dealt ante/play wagers and a Pair-Plus side bet.

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

Description

A Three Card Poker table played against the dealer: the player posts an ante, optionally a Pair-Plus side bet, and a play wager, then the server deals both hands, ranks them, applies the dealer-qualifies rule, and settles. Servers buy it as a fast, easy-to-learn vs-dealer game that fills floor space between blackjack and roulette.

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 lives at content/expected-outputs/casino/16-three-card-poker.lua. It implements a proximity table with a loaded deal anim and an NUI bet callback, plus a server-side handler that…

πŸ”’ 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-side deal β€” cards and payout can be forged; deal, rank and settle entirely in server.lua.
  • Anim before load β€” TaskPlayAnim no-ops without RequestAnimDict + a HasAnimDictLoaded wait loop.
  • Unvalidated bets β€” re-floor and re-check ante/Pair-Plus/play against getMoney before dealing, or players bet money they do not have.
  • One-sided net event β€” both client and server need RegisterNetEvent + AddEventHandler for the deal/settle round-trip.

Corrective re-prompt: Move the deck, hand ranking and settlement into server.lua, validate and removeMoney the summed bets before dealing, apply the dealer-qualifies rule and the Pair-Plus multiplier table server-side, and addMoney only the computed payout returned to the client.

Framework Integration

  • ESX: xPlayer.getMoney() / xPlayer.removeMoney(total) to pool bets and xPlayer.addMoney(payout) to settle.
  • QBCore: swap to Player.Functions.GetMoney('cash'), RemoveMoney('cash', total, '3card') and AddMoney('cash', payout, '3card-win').
  • QBox: identical to QBCore via exports.qbx_core:GetPlayer(src); keep the drawCard/ranking logic server-side regardless of framework.

Profit Potential

$150–$2000/mo on Tebex (expected ~$600). [INFERRED] priced inside the $50-389 FiveM script band against a stable vs-dealer table niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100).

Trend Signal

β†’ stable β€” inferred: Domain: fast vs-dealer table game, moderate supply.

Sales Angle

Position as the fast, low-skill vs-dealer table that keeps the floor busy between blackjack and roulette β€” with a Pair-Plus side bet that drives extra wagering. Recommended Tebex price $119.

Difficulty & Ship Time

intermediate Β· ships in 4-6h.