[RELEASE] [PAID] [OX] WX Drug Selling

banner

Hello FiveM community! As promised in my wx_drugs script, I’m also releasing a NPC drugselling script! With this script, you can sell preconfigured drugs to (almost) any NPC (if the ped model isn’t in config blacklist). As we speaking of config, I have as always included a large config file where you can customize almost every aspect of the script to your liking! Ranging from configurable drugs, npcs, prices to even chances of successful selling, rejecting, attacking and even stealing the drug from the player! I have also included a configurable function for client police dispatch event! You can see the whole config down below, as well as the link for small showcase! Thank you for your support on my previous scripts :heart: And as always, I am releasing also the escrow and open source version on my tebex! If you encounter any problems (i hope not), bugs, or questions, please contact me on discord - @00wx

:shopping_cart: [ESCROW] Purchase (16$ + TAX)

:shopping_cart: [OPEN SOURCE] Purchase (40$ + TAX)

UPDATE 1.1

  • Added option to enable ESX support
    • ESX Support Stuff:
      • You can now set minimum police job count to be able to sell

:movie_camera: Small video showcase

Youtube Link

In the video, I accidentally selected the wx_drugs in resmon, not wx_drugselling, however, the times are the same, except while in use the resmon is max. of 0.02ms

:page_with_curl: Features

  • Fully customizable
  • 0.00ms - 0.02ms resmon
  • Infinite drug types to sell
  • Configurable NPC behaviours
  • Ability to add certain ped models to blacklist (don’t allow to be able to sell to them)
  • 2 predefined translations, with the ability to create your own
  • Your own police dispatch event support
  • Cheater protection (protected server events with discord logging if player tries to cheat)

:camera_flash: Screenshots

image
image

image


image

image

:man_technologist: Config File

Code is accessible Yes and No
Subscription-based No
Lines (approximately) 2000+
Requirements ox_lib, ox_target and ox_inventory
Support Yes
1 Like

Hey ! Can I change inventory ? Like for qs-inventory ?

Would consider this if it could work with qtarget and qs inventory :ok_hand:

1 Like

I never used qb, but I think I and even you can make it work with changing the source a bit

1 Like

Isn’t qb-inventory ^^ QS Inventory is for ESC and QB, thx for answer !

it is, but when you’re on esx, you will rather use ox_inventory

Hey, I removed the escrow lock from the server-side scripts so you can edit it for qs-inventory, however the target functions are in escrowed file and only work with ox_target, which you can install anywhere and it’s also a replacement for outdated qtarget

Hey, I unlocked the server side functions so you can (hopefully) make it work with qs inventory

1 Like

Ah well thanks anyway man, cool looking script but I like qtarget and qs inventory is a much better choice.

if I made qs inventory version, would you be interested?

Looks gooodd bro! Might pick this up too!

A multiplier for prices if there are more cops online would be great too!

I would have to implement esx/qb, which I don’t like. I want to keep my scripts standalone, except the OX Lib

1 Like

nice script :slight_smile:
but: why the locales are escrowed? i need to translate it soon - can u please change this?
and maybe there will be an option to make selling possible only with Police on duty? would be nice

Hello, I’m so sorry I forgot to unescrow the locales, I’ll change it today. About the police job: I would have to implement esx/qb, which i dont want to because I want to keep my scripts standalone. I can maybe add an option to enable esx. Thanks for your suggestions

Hello, the package has been updated, the locale is now available to edit. Sorry for the complications.

You can download it on your keymaster now

1 Like

Hey, so I also added ESX support! It’s available now on your keymaster

1 Like

esx-support doesnt seems to work - it always call " not enough cops online" even when there are enough of them. when i set cop amount to zero then it works. my job group is “police”, so there should everything be okay - any ideas?

group or job?

job of course :slight_smile:

even if there are more than 2 cops on duty it doesn´t work ( isetr minimum cops to 1 for testing)…so it seems that the script doesnt identify the job

there is no error in console