/cad-drugsales

NPC Drug Sales for QBCore

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

Drug Sales

  • Configurable Sell Zones / Drugs / price
  • NPC Drug sales with target
  • Add as many drugs/zones you want
  • Each zone has its own drug and price
  • You can add multiple drugs to a zone (check config instructions)
  • You can sell multiple drugs at once (upon random range) (check config)
  • exports to toggle target on ped (this will toggle allowing/disallowing target even if inside zone)
  • exports["cad-drugsales"]:AllowedTarget(bool) --[true/false]

Dependencies

  • qb-core
  • qb-target
  • qb-menu
  • PolyZone

Preview

Click Here

How to Use

  • Download latest release and add to resources
  • ensure in server.cfg
  • Change shared.lua to your likings (check config instructions)
  • Finish!

Config Instructions

  • For the zone to get linked with the drug you need to do as in image image

Note: Any issue please report on github or discord: https://discord.gg/qxGPARNwNP