GR1M Docs

Casino

Blackjack, roulette and slot machines at staff-placed tables, plus street dice anywhere. The server shuffles, spins, rolls, runs every rule and holds every dollar. The client only asks. Built on GR1M_Poker's patterns, with no code shared and nothing in GR1M_Poker changed.

v1.1.0Needs oxmysql, ox_lib, ox_target, qbx_core, ox_inventory

#Setup

  1. ensure GR1M_Casino after oxmysql, ox_lib, ox_target, qbx_core and ox_inventory. Tables create themselves.
  2. ensure GR1M_Placer too, or staff can't place tables.
  3. In game, run /gcasino, Place new table, pick Blackjack or Roulette, the model, and how many chairs. Line the see-through table up, then each chair from the dealer's left, then the dealer (ESC skips the dealer). For a table the map already has, pick ... table in the map, and Chairs already there for its chairs.

The dice item is the dice that's already in ox_inventory/data/items.lua; nothing was added there. Sell it in any shop to make street dice reachable.

#Blackjack

#Roulette

#Money

#Slot machines

#Player-owned casinos

#Rentals (slots and tables)

#Street dice

#Staff panel

/gcasino: Tables, Live, History, Dice and Flags. Every table setting is there: name, location, stakes, buy-ins, decks, reshuffle point, blackjack payout, soft 17, splits, spin limit, wheel, bank account and felt height. Move, add or remove the dealer, pause, close and refund, open, delete. The Dice tab holds every dice setting.

Admins are the admin and god groups or gr1m_casino.admin. Owners are god or gr1m_casino.owner; only owners set the Discord webhook (server KVP) and the "log wins over" amount.

#Things to tune in game