r_billing Installation
Install r_billing: download it from the Cfx.re Portal, ensure it after ox_lib, oxmysql and QBCore, ESX or QBox. Tables are created on first start.
Prerequisites
Installation Steps
Download & Extract
- Download R_Billing from your Cfx.re Portal
- Extract the folder into your server's
resourcesdirectory - Make sure the folder is named exactly
r_billing
r_billing
client
- cl_custom.luanotifications
localesen, fi
server
- sv_custom.luabanking and Discord webhook
- config.luaevery setting
- fxmanifest.lua
- sql.sqlonly if you import it yourself
Add to server.cfg
Put it after ox_lib, oxmysql and your framework:
ensure ox_lib
ensure oxmysql
ensure qbx_core
ensure r_billingLanguage (optional, default English):
setr ox:locale "en" # en | fiRestart & connect
Restart your server, or run this in the server console. The tables are created on first start.
Connect and press F7 or type /bills.
Upgrading from v1
Keep R.AutoInsertSQL = true for the first start. The old tables are converted and the console
prints upgraded the v1 tables. Open bills, history and company templates carry over. The config
is new, so set it up from the fresh config.lua.
Updates
The console tells you when a new version is out. Download it from the Cfx.re Portal and replace the
folder, keeping your config.lua, client/cl_custom.lua, server/sv_custom.lua and locales.
Keep the folder name r_billing and don't change author in fxmanifest.lua, or the update
check stops.