Documentation
R_Billing

r_billing Installation

Install r_billing on ESX, QBCore or QBox: the ox_lib and oxmysql dependencies, the database, server.cfg start order and troubleshooting.

Prerequisites

R_Billing needs:

  • ox_lib: UI callbacks, notifications and locales
  • oxmysql: database
  • A framework: ESX, QBCore or QBX

Installation Steps

Download & Extract

  1. Download R_Billing from your Cfx.re Portal
  2. Extract the folder into your server's resources directory
  3. Make sure the folder is named exactly r_billing

Add to server.cfg

Ensure the resource after ox_lib, oxmysql and your framework:

ensure ox_lib
ensure oxmysql
ensure r_billing

Set your language (optional)

R_Billing uses the ox_lib locale system. Pick the language with a convar in server.cfg:

setr ox:locale "en"   # en | fi

Restart & connect

Start your server and connect. The database tables are created automatically on first start. Open the panel with /bills or press F7 (default).

The framework is auto-detected. There's nothing to set for ESX, QBCore or QBX. Only set R.Framework in config.lua if auto-detect guesses wrong.

Database

R_Billing creates its tables automatically on first start (R.AutoInsertSQL = true). If you prefer to run the SQL yourself, set it to false and import the included sql.sql.

Next Steps

Troubleshooting

Common Issues

View the troubleshooting guide