Skip to content

VNS Casino Slots

A slot machine script for FiveM using the native GTA Online casino machines. Players sit down at any configured slot machine prop, spin with real 3D reels, synced animations, scripted cameras and the original casino sounds - and win chips or money on server-validated results.

Framework, inventory and money handling comes from vns-core, a separate free download:

  • Frameworks: QBCore, QBox, ESX
  • Inventories: ox_inventory, qb-inventory, qs-inventory, origen_inventory, codem-inventory, tgiann-inventory, core_inventory, ESX's built-in inventory
  • Requires vns-core and ox_lib

Feature overview

  • Works with your casino map - the script detects the casino slot machine props (vw_prop_casino_slot_01a - 08a) already placed by your map. Built-in preset for the K4MB1 casino map, or point it at any casino interior with a center + radius.
  • Real 3D reels - the reels are actual spinning prop objects on the machine, not an NUI overlay, with stop-clunk timing per reel.
  • Native casino audio - welcome stingers, spin, reel stops, small win, big win and jackpot sounds from the GTA casino audio banks, with the correct sound set per machine model.
  • Animations & cameras - sit/stand synchronized scenes, male/female slot animations, three camera modes you can cycle while seated.
  • Chips or money - bets and payouts use either an inventory item (default casinochips) or cash/bank money.
  • Server-side results - the spin result is rolled on the server, the bet is charged server-side and the payout is only granted if the client result matches what the server rolled.
  • Seat locking - a machine in use is locked for other players until the player stands up.
  • Per-machine bets - each slot machine model has its own bet amount.

Controls (while seated)

Key Action
Enter / Space Spin
E Change camera
Backspace Stand up

Payouts

Three matching symbols pay the symbol's multiplier (25x up to 1000x for triple 7). Any two "6" symbols pay 5x, a single "6" pays 2x. See Configuration for the full table.

Open vs Encrypted

The script is sold in an open and an encrypted variant. In both versions config.lua, client/client_open.lua and server/server_open.lua are editable. Economy, machine setup and language strings live in config.lua; the open files contain the notification handler, the controls disabled while seated, and the item/money calls to vns-core. See Open Source & Encrypted Versions.