Skip to content
NivoDocs

Search documentation

Drugs Selling

Installation

Requirements

ResourceNotes
ESX, QBCore or QboxOne download works on all three; the framework is detected on start.
oxmysqlDatabase. Tables are created automatically, no SQL import.
nv_bridgeFree with every Nivo purchase, in the same Granted Assets list.
ox_libRequired by this script.

Inventory, target, dispatch, notifications and progress bar are optional and detected automatically. See what is supported.

Steps

  1. Download nv_drugs-selling and nv_bridge from Granted Assets in the Cfx.re portal.
  2. Extract both to resources/[nivo]/. Do not rename nv_drugs-selling: the folder name is part of the escrow license.
  3. Add the start lines below to your server.cfg.
  4. Restart the server. Database tables and items are set up on the first start.

server.cfg

# server.cfg
ensure oxmysql
ensure ox_lib          # optional unless listed above
ensure es_extended     # or qb-core / qbx_core
# ... your inventory, target, dispatch

ensure nv_bridge
ensure nv_drugs-selling

Check it works

After the restart the console shows one line with what was detected:

[nv_drugs-selling] nv_bridge 1.0.0: framework=qbox inventory=ox target=ox dispatch=cd notify=qbox progress=ox
  • Database: [nv_drugs-selling] database: applied sql/... appears once, on the first start.
  • Items: on ESX and QBCore they are added automatically. With ox_inventory the console lists missing items: copy install/ox_items.lua into ox_inventory/data/items.lua.
  • Something missing: the script prints what is missing and where to get it, then stops.
Next: every option is on the Configuration page.