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_coreandoxmysqlinstalled 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_blackjackWARNING
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
- Restart the server or resource and connect.
- Visit one of the default tables: Blackwater, Rhodes or Van Horn.
- Sit down, buy chips and place a bet.
- Leave the table and confirm that the remaining stack is returned as cash.