Description
1,024-Way Cascading Mahjong Slot for FiveM ESX
A Mahjong-themed slot machine you place in the city; players walk up, press [E] and play. 1,024-way Cascade/Tumble spins with free spins, multipliers, buy-feature and BIG / MEGA / SUPER WIN celebration scenes. Every spin is resolved on the server; the client only renders the result, so outcomes cannot be tampered with from the client side.
Features
- [+] Easy setup: tune everything in config, or set it from the web builder
- [+] Every spin is resolved on the server; the client only shows the result
- [+] One value,
PayScale, moves the RTP without touching the paytable - [+] Set your own bet steps; bets outside the list are rejected
- [+] Per-spin win cap and a daily house-loss limit that closes the machines
- [+] Free spins: 3 scatters = 10 spins, with a retrigger cap you set
- [+] Buy feature can be turned on or off and priced as a multiple of the bet
- [+] Set your own BIG / MEGA / SUPER WIN thresholds
- [+] Any number of machines, with your own positions, prop, blip and sounds
- [+] Recolour the Mahjong UI from a single theme file
- [+] Event logs to a Discord webhook, split by event
- [+] Hook it into other scripts in addons/
Gameplay
- 1,024 ways — winning symbols burst and new ones tumble in (Cascade), so a single spin can chain several wins
- 97.5% RTP tuned out of the box; adjust it with one value,
Config.PayScale, instead of guessing at a paytable - Free spins — 3 scatters = 10 spins, retriggerable with a configurable cap · Buy feature can be toggled and priced as a multiple of the bet
- Multipliers accumulate through cascades and during free spins
- Celebration scenes with your own big/mega/super thresholds (defaults 10×/25×/50×), count-up and coin timing
- Mahjong-style UI — wood frame, felt table; every colour is editable from a single theme file
Anti-exploit and economy controls
- All spin results are computed server-side; the client sends only "spin" and the bet amount
- Bets outside the allowed list are rejected (
Config.BetSteps), with a rate limit against spin spam - Per-spin win cap (
Config.MaxWinX) and automatic machine suspension when the house loses more than a daily limit (Config.DailyMaxLoss) - Event logging for spin / bigwin / buyfeature / suspend / settle to a Discord webhook, azael, or your own adapter
- Core game code in
core/is encrypted; everything inconfig/andaddons/is yours to edit
Wire it into your server
- Server hooks —
canPlay(e.g. VIP only),getMachines(place machines from your zone system),onSpinResolved,onBigWin,onSettle - Client hooks —
onOpenUI/onCloseUI(hide HUD, blur, freeze the player),drawPrompt(switch to ox_target / textUI),onSessionSummary - Any number of machines, each with its own position; prop, blip and audio are set in config
- Thai / English switchable in config
Requirements
ESX Legacy (es_extended) · oxmysql · MySQL · run install.sql once · put the key from your account page in config/config.license.lua, then ensure x3d_slots
One-time purchase with free version updates from your account page. Try it free for 7 days from the button on this page before you decide.
Version history
- 1.1.4 — Released 13/10/2026 00:13
- 1.1.2 — Released 12/10/2026 10:22
- 1.1.1 — Released 11/10/2026 16:23
- 1.0.2 — Released 15/09/2026 19:04
- 1.0.1 — Released 15/09/2026 02:16
- 1.0.0 — Released 14/09/2026 22:27
Related scripts

- 7-day trial
- Updated
X3D Replay
BETA pricing. Records every player, every session. Watch it back in game: 4 cameras, kill/death timeline, pressed keys, script usage, macro flags.
or rent ฿120/month

- 7-day trial
X3D Anti-Cheat
BETA pricing, join the testing. Evidence-first anti-cheat: Discord embeds with screenshots, HWID bans, Steam/Discord account lock, two-line event guard.
or rent ฿120/month

- Updated
X3D Map Events
Free event panel on the pause-menu map: name + countdown, click to set a waypoint. Other scripts push events like notifications; admins can create their own.

- Updated
X3D Weapon Skins
Free collectible ESX weapon skins: each skin is an add-on weapon tied to its base gun. Unlock with an item, same damage, tradable, held-weapon effects.
Posts that cover this script
- 19/09/2026
How the Free 7-Day FiveM Script Trial Works (No Payment Needed)
Step-by-step guide to getting a free 7-day trial key for any X3D FiveM script: Discord login, joining the server, setting up your server profile, installing the key, and what happens when the 7 days end.
Read more - 26/09/2026
What a FiveM banking script needs: every ATM, transfers by phone number, dupe protection, and a free ESX bank
What a FiveM banking script for ESX has to do: every ATM on the map without coordinates, transfers by phone number or ID, history, and the server-side checks that stop money dupes; the holes in old esx_atm/esx_banking, and X3D Banking, free and integrated with X3D Phone.
Read more - 26/09/2026
YouTube boombox and a fortune teller with siamsi and tarot: free FiveM scripts for city flavour
A free FiveM boombox for ESX (X3D Music: YouTube on the ground or on a car, shared queue, distance falloff, API key kept on the server) and a fortune-teller NPC (X3D Fortune: daily horoscope, zodiac, 28 siamsi sticks, 22-card tarot, monthly spread), with YouTube API key setup and pricing.
Read more - 13/09/2026
X3D Slots 1024 Ways Review — A Casino Script for RP Servers
A review of the X3D Slots 1024-ways casino script — features, RTP, anti-cheat design, and which FiveM servers it suits.
Read more






