This is my version of drugs to npcs it works pretty well.
Originally script based off only serenity’s script.
Requirements
Pnotify here
ESX
Update Log
3/9/18
Added a distance check so you cant run away while selling.
Added a dirty money version if you would like that.
Made it so the peds are set free after a sell.
3/10/18
Fixed no drugs issue
3/26/18
Added a animation on a successful sale
8/22/18
Fixed police notifaction(should work i dont use esx_phone so couldnt test)
Figured i should update it since (SOME TOOK IT) is claiming he made the script(lol only thing he even bothered to change is the notifaction)
Download
if you have any questions let me know.
How can i change the price it gives?
A: in the client.lua change the math.randoms per drug at the top. (min,max) is how it works
you can modify this script but if you release please credit me.