This mod enables you to sell drugs or if you wish to modify it to any item to npcs.
The client side is done, but, the server-side needs to be worked to work with your framework(either ES, ESX or your custom build). There’s also a random rejection percentage that triggers police dispatch, modify that to your police dispatch event to trigger a police report. (Line: 70 on client-side)
Required:
pNotify
Features:
Random Payments
Random Quantity up to 5
How to
Walk up to civilians after obtaining drugs and press H to sell it
As you can see, it appears that it’s For Developers hence the [For Developers] therefore your best bet is to edit it for yourselves… as you can see on his GitHub he states “DO WHATEVER YOU WANT WITH IT BUT DON’T CLAIM IT TO BE YOURS”
I am fairly new to scripting and I’ve been trying to modify this script to work with my ESX server. After 10 days of looking over the script, modifying and trying to convert it. Even looking at the one available for vRP and seeing how that was put together. I am now at a loss. I feel like i gave it my best shot, and hopefully someone capable enough comes a long and helps out the community.
SetPedAsNoLongerNeeded.
I am able to sell to that same ped after selling to a different ped.
Is there a possibility to set this ped to be PetPedAsNoLongerNeededEVER?