VNS Casino Roulette
Multiplayer casino roulette for FiveM on the game's own roulette table props. Up to four players sit at each table, place chip bets directly on the layout and watch a dealer ped spin the wheel - bets, the ball and everyone's chips on the table are synced between all seated players.
One resource runs on QBCore, QBox and ESX. Framework, inventory and notification support comes from vns-core, so there is nothing framework-specific to set up in the script itself.
Feature overview
- Real table play - players sit on the actual roulette chairs, aim at the layout to select a bet spot, and bet chips are placed on the table as props everyone can see.
- Full American roulette - straight numbers plus 0 and 00, red/black, even/odd, 1-18/19-36, the three dozens and the three columns.
- Multiplayer rounds - one shared countdown per table; every seated player bets into the same round and the same winning number.
- Dealer peds - a casino dealer spawns at each table and plays the dealing, spinning and chip-clearing animations.
- Chip item betting - bets are taken from and paid out in an inventory item (casino chips).
- Per-table stakes - each table has its own position, cloth color and minimum/maximum bet, so low-stakes and high-roller tables can run side by side.
- Server-side validation - the winning number is rolled on the server, and every bet is checked against the table limits and the player's real chip count before chips are taken.
How a round plays out
- The player walks up to a roulette table and presses E at a free chair. The help text shows the table's minimum and maximum bet.
- The table's betting countdown starts (30 seconds by default).
- The player aims at the layout to pick a spot and places bets. Repeat bets on the same spot stack, and a custom amount can be typed in.
- When the countdown hits zero the server rolls the winning number, the dealer spins and the ball lands (about 15 seconds).
- Winning bets are paid out in chips automatically, win/lose reactions play and the next countdown starts.
Payouts
| Bet | Pays |
|---|---|
| Straight number, 0 or 00 | 35x the bet |
| Red / Black, Even / Odd, 1-18 / 19-36 | 2x the bet |
| Dozens (1st/2nd/3rd 12), Columns (2 to 1) | 3x the bet |
Open vs Encrypted
The script ships in an Open and an Encrypted variant. In the Encrypted variant config.lua, client/client_open.lua and server/server_open.lua stay editable - tables, stakes, the chip item, every player-facing text and the chip/notification functions live there.