Requirements
- QB-Core or qbx_core
oxmysqlox_lib- One of:
lb-phoneoryseries
Install
-
Drop
hb_diamondonlineintoresources/. -
Import
sql/casino.sqlinto your FiveM database. Creates these tables:casino_creditscasino_flyus_rounds,casino_flyus_betscasino_blackjack_handscasino_slots_handscasino_roulette_rounds,casino_roulette_spins
-
Add to
server.cfgafter your phone resource andoxmysql/ox_lib: -
Edit
config_server.luaif you want to change bet limits, payouts, or phone selection. See Configs. - Restart the server. The phone app registers itself with LB Phone or YSeries automatically.
Notes
config_server.luais the only file you can edit. Every other Lua file is escrow-protected. Everything the client needs is fetched from the server at runtime, so there is no client config to touch.- Round counters resume from the database on resource restart, so
round_idstays unique forever.