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 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
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
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)
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
nice script
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
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?