VNS Casino Lucky Wheel
The Diamond Casino Lucky Wheel for FiveM. Players walk up to the wheel, press E and spin for a prize - chips, cash, items or the car on the casino podium. The wheel, its lights and the spin are synced, so every player nearby watches the same result come in.
One resource runs on QBCore, QBox and ESX - vehicle prizes included. Framework, inventory, money, vehicle and notification support comes from vns-core.
Feature overview
- Animated casino wheel - the wheel prop spins up, slows down and lands on the winning segment, with the casino light and arrow props flashing afterwards.
- 20 configurable prizes - each wheel segment has a type (
money,itemorcar), an amount, a win sound and a probability window out of 1000. - Podium vehicle - one car is picked at random from your car list on every resource start and displayed on the podium, slowly rotating. Winning the car segment registers that car to the player and spawns it for them outside.
- Daily spin limit - optionally one free spin per day, per account or per character, with a configurable daily reset time. Or turn the limit off and charge cash per spin instead.
- Server-side prizes - the prize is rolled and paid by the server from its own record of the spin; nothing the client sends decides what is won.
- Native sounds and animations - the player walks to the wheel and plays the GTA spin animation; win stingers come from the game's own Lucky Wheel sound set.
- K4MB1 preset - one config toggle covers the K4MB1 casino map with no coordinate changes.
How a spin plays out
- The player stands at the wheel and presses E.
- The server checks the daily spin (or takes the spin fee from cash) and rolls a number from 1 to 1000.
- The roll picks the prize from the probability table, and every nearby player watches the wheel spin and land on it.
- The winner gets the prize: items into the inventory, money into the bank, or the podium car registered to them and spawned outside the casino.
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 - prizes, probabilities, positions, the car pool, spin limits, texts and the hooks for fuel and vehicle keys live there.