Skip to content

FAQ and Troubleshooting

Common questions, common mistakes, and quick fixes

Where Do I Change Script Settings?#

Use:

lua
0r-drugbusiness/config.lua

Extra world data is also stored here:

  • data/raw_material_locations.lua
  • data/sale_mission_locations.lua
  • data/theme_interiors.lua
  • data/warehouses.lua

Do I Need To Import SQL Manually?#

Yes. Import:

lua
0r-drugbusiness/database.sql

Which Items Do I Need?#

At minimum, check these:

  • lockpick
  • packaged_weed
  • packaged_cocaine
  • packaged_meth

If you changed money to item mode, also add those money items.

I Changed Item Names But The Script Does Not Work#

Check both sides:

  • The item names in Config.PackagedProduct
  • The same item names in your inventory

They must match exactly.

Police Alerts Do Not Work#

The default client helper leaves a custom alert section for your own dispatch. Edit:

lua
modules/utils/client.lua

Weather Or HUD Integration Does Not Match My Server#

Edit:

  • modules/weather/client.lua
  • modules/utils/client.lua

These files are intentionally left open for custom integrations.

The Script Starts But Interactions Do Not Work#

Check these first:

  • ox_lib is started
  • Your target resource is supported or integrated correctly
  • SQL tables exist
  • Required items exist
  • Your framework was detected correctly

Where Do I Change Warehouse Or Mission Locations?#

Use the files in the data/ folder, not only config.lua.

I Changed Config But Nothing Happened#

Check these points:

  • You edited the correct file
  • You restarted the resource
  • Your custom integration edit did not break a return value
  • You did not change protected internal keys such as business type key values