NX CreativeNX CreativeDocs
Scriptsnx_slotmachine

Slotmachine

Four custom slot machine games rendered onto the vanilla Diamond Casino cabinets via nx-3d. Multiplayer-synced and multi-framework.

nx_slotmachine replaces the empty vanilla casino cabinets with four playable slot games. Each game is drawn directly onto the cabinet screen using nx-3d, so passers-by can watch a spin in the world without opening their own UI.

The four games

  • Chroma Rush. A 5-reel, 10-payline neon slot. Cabinet model vw_prop_casino_slot_01a.
  • Davy's Doubloons. A duel/blast slot built around a pirate fight sequence. Cabinet model vw_prop_casino_slot_02a.
  • Los Santos Trinity. A 5x5 match-3 grid with crew-role memory that persists across reconnects. Cabinet model vw_prop_casino_slot_03a.
  • Vault Breakers. A 7x7 cluster-pays heist slot. Cabinet model vw_prop_casino_slot_04a.

Features

  • In-world DUI rendering. All four games run on the cabinet screen via nx-3d. No fullscreen takeover by default.
  • Multiplayer-synced. Other players within Config.NUI3D.syncRadius see the same screen and cursor as the player at the cabinet, including live spin animations.
  • Multi-framework. ESX, QBCore, and QBox are detected through the bridge/ layer. Cash is pulled and paid via the active framework.
  • Calibrated RTP. Each game's symbol weights and payout tables are tuned against Monte Carlo simulation, and every balance change is re-run before it ships. Two payback rates are selectable via Config.Economy.RTPTier: roughly 96% per game, or roughly 91% if you want the casino to earn more per wager.
  • Economy analytics. An admin dashboard inside /manageslots reports spins, staked, paid out and net for every machine, split by game and by currency, with per-player history and search. Rounds paying above a configurable multiple are recorded in full and replay spin by spin on the real game board.
  • Admin slot placement. A /manageslots command lets admins (or whitelisted jobs) place new slot cabinets at runtime and persist them to the database.
  • Ten languages. Game screens, notifications, and admin menus are translated into English, German, Finnish, French, Portuguese (Brazil), Spanish, Turkish, Dutch, Italian, and Polish. Selected with Config.Locale.
  • Splash and audio. Optional first-sit intro and UI sound effects, both toggleable.

Framework usage

The bridge layer handles framework detection automatically. No code change is required to switch frameworks. Config.Framework selects which bridge implementation to load.

Get it

Available at nxcreative.tech/slotmachine.

NX Docs