Skip to content

Installation

lo_blackjack uses VORP, oxmysql and OneSync. It creates its table automatically; sql/lo_blackjack.sql is also available for manual imports.

Prerequisites

  • A working RedM server with OneSync enabled.
  • vorp_core and oxmysql installed and running.

1. Add the resource

Place the lo_blackjack folder in your server's resources/ directory.

2. Start order

Start it after its dependencies:

cfg
ensure oxmysql
ensure vorp_core
ensure lo_blackjack

WARNING

Do not start the resource before oxmysql and vorp_core: table persistence and money operations depend on them.

3. Optional: import the schema manually

The schema is created on startup. If your deployment workflow requires an explicit import, run sql/lo_blackjack.sql against the same database used by oxmysql before starting the server.

4. Verification

  1. Restart the server or resource and connect.
  2. Visit one of the default tables: Blackwater, Rhodes or Van Horn.
  3. Sit down, buy chips and place a bet.
  4. Leave the table and confirm that the remaining stack is returned as cash.