This is my version of drugs to npcs it works pretty well.
Originally script based off only serenity’s script.
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.
Fixed no drugs issue
Added a animation on a successful sale
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)
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.