Drugs Selling
Installation
Requirements
| Resource | Notes |
|---|---|
| ESX, QBCore or Qbox | One download works on all three; the framework is detected on start. |
oxmysql | Database. Tables are created automatically, no SQL import. |
nv_bridge | Free with every Nivo purchase, in the same Granted Assets list. |
ox_lib | Required by this script. |
Inventory, target, dispatch, notifications and progress bar are optional and detected automatically. See what is supported.
Steps
- Download
nv_drugs-sellingandnv_bridgefrom Granted Assets in the Cfx.re portal. - Extract both to
resources/[nivo]/. Do not renamenv_drugs-selling: the folder name is part of the escrow license. - Add the start lines below to your server.cfg.
- 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-sellingCheck 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_inventorythe console lists missing items: copyinstall/ox_items.luaintoox_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.