[FREE] [ESX/QB] Drug Sales v3

Description

r_drugsales v3 is a complete overhaul of the classic street-dealing system, rebuilt from the ground up with brand-new custom interfaces. Players can sell drugs on the corner to locals, set up quick bulk handoffs, and server owners get full control to balance risk, reward, and immersion.


Features

  • :iphone: Dealer menu accessible by command or dealer phone item
  • :man_standing: Corner selling with locals: make offers, accept or deny based on configuration
  • :moneybag: Bulk buyers: one quick handoff, less profit but lower risk
  • :police_car: Configurable dispatch odds to notify police of street activity
  • :gear: Server flexibility: fully configurable, top to bottom
  • :desktop_computer: Clean, modern custom interfaces designed for immersion

Preview

Video Link


Download

Github


Support

Discord


My Other Releases


Code is accessible Yes
Subscription-based No
Lines ~2000
Requirements Read Docs
Support Yes
15 Likes

I think there’s a bug. When you sell to an NPC, you can enter the price you want to sell it for. If you set it too high, it will always refuse.

1 Like

so actually you will also have to lock the price to sell so that people cannot enter anything manually and the price is always determined from the config

1 Like

Thats not a bug, its an offer system. Make a ridiculous offer, the NPC refuses. If you wish for the UI to be barred at the max, I can consider it in an update based off feedback… or being open source, it would be a very easy modification to make in the front end.

Drug-Phone open, nothing show here. Anyone having the same problem ?

Same with command. Nothing.

1 Like

Yes please so i can use it if u can fix that Because now it’s difficult for players to guess at what price they’ll accept. Perhaps you could fix that you can’t adjust the price, only the amount of drugs you sell, so they always accept unless you fail, get robbed, or the NPC refuses!

And by the way, I also noticed that when I call an NPC from the street, sometimes some random NPC walks up to me, which I can’t interact with, and then walks away.

To explain it better, if you call an NPC, sometimes two will come running towards you, and you can only interact with one, and the other one will run away, but you can continue to interact with the other one. I looked at the NUI myself, but I can’t see the full code to fix it because it’s too long in Visual Studio Code.

Make sure you download release and not source.

1 Like

Would get that randomly in testing if I am understanding you properly. Have yet to figure out what causes it. The next customer and every one after seems to behave normally though. Soon as I can pinpoint whats throwing the cancellation on the sale I will have an update fixing it for sure.

Probably best you open a ticket in our Discord, as the support forum post is not a place to give or request help with the resource.

You right buddy, i didn’t even think of that as i always (always a mistake) DL source yep :wink:

Thanks, gonna try that now for sure. Thanks for the share and the work.

1 Like

How do I cancel drug sales after I’ve started them?

Run away, distance is in config (3O by default)

Amazing script, can’t wait for v4

1 Like

Perfect!

1 Like