[Release] [ESX] NPC Drug Sales (Optimized)

Could you please create a repository for this ressource?

1 Like

Any idea why the NPC’s rarely stop when you press E? they just carry on walking most of the time, Thanks

if you using ESX framework,why dont you use ESX.GetClosestPed in stead of Findnextped

1 Like


Hello could you help me resolve this error?

When i’m next to npc ----- http://prntscr.com/qn1am0
When I sell ----http://prntscr.com/qn1brj
when i don’t have any drugs in my inventory stays at 0.3 ms

How can i fix it ?

Nice release! But Optimized? on the client side yes, but on server side it could cause thread hitch warnings on slower/old Cpu:s

alerting the cops dont seem to work

Works Great! But where do you change the amount that can be sold at 1 time because its like on 5 i want to make it 1

Can you tell what program is that please. I need to check somethings on my server

Looks like a great script i have 1 issue no option to press E on any civ is there a specific area have all the latest up to date ESX scripts no errors in console

1 Like

hi, sorry if this has been answered already like but does this work with esx_drugs_extended?

why does the “press e to selldrugs” blink fast on mine?

location of npc ?

Will the police always be notified if denied? Is there a % chance?

hi i have all setup ok but nothing happen, can some one help me plz? i dont have problems on my log

Nice! :smiley:

does anyone got idea how to optimized this script? it looks quite nice but once my player over 50 the server start lagging
:frowning:

why cant i sell npcs drugs i placed the folder in esx folder and and i did start and i did the sql

are you getting errors?