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 in config/ and addons/ 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
Reviews

Reviews from customers

No reviews yet. Customers who bought, rented or claimed this script can review it.

Same category

Related scripts

View all products
Read more

Posts that cover this script