[ESX stasiek_selldrugs] Sell Drugs to NPC +dispatch NEW! 🚓

police
npc
esx
drug
sell

#68

I added that value and its still giving me that console issue but I have no clue why, its fine I’ll just wait for the update to come out today and hopefully that fix’s it
cause people are trying to sell drugs it does the countdown then nothing appears or anything nothing ends up happening.


#69

Try to reinstall plugin and dont You touch it please :wink: Only config values


#70

Downloaded the entire script, Again, never changed a thing did a restart, weed is selling 100% threw and threw
Coke is still countdown then nothing no errors nothing showing in the F8 Console… Unsure whats the cause of that, But in good news @Stasiek Fixed the console issue with checkdrugs but again coke pooches is being annoying.


#71

Kiminaze and me fixed some issues in the script and added the possibility to define zones on the map, where the selling to npc is possible, outside of these zones the npc will always reject and maybe also call the cops.
i also added a small animation, but this still is not working perfectly.

if stasiek is okey with that, i would share the changes after i tested it enough?


#72

You can share changes there :wink:


#73

I dont know if your having this issue but every version of your script always results in someone not being able to sell it prompts with the alerts ect… But I changed the police to 0 so they can sell if the cops are offline which is what they wanted and even then if I have it to 1 then it still does countdown and doesnt sell Im simply just trying to allow them to sell coke pouches to NPC and weed I’ve not messed with the config at all besides the police required and same thing it does countdown then nothing happens, idk if your missing a notification for that in the EN or if there is no prompt for a notification if something happens but they are just simply walking away nothing is happening…


#74

Hi. When i trying to sell drugs i’ve got error in console https://imgur.com/a/lxV3hgb. And notification dont appear on screen when i’m near to npc.


#75

client lines 188
— ESX.ShowHelpNotification(_U(‘input’))
it will fix that problem


#76

Download the lastet version of plugin


#77

Good script but i have the same problem :slight_smile:
client lines 188
— ESX.ShowHelpNotification(_U(‘input’))

I have the latest version :confused:


#78

Update es_extended please


#79

Hey there.
great Script it almost works like a charm for me.
though im having trouble getting it to locate on the map.
call cops is set to true, and cops.behave is set to true.
still not showing on the map.
Help Please :slight_smile:


#80

Show me your config please


#81

I managed to fix it now.
so everything works now. great job on the script really needed this


#82

How did You fixed it ?


#83

I only needed to restart the server after changing cops.behave. that fixed it


#84

Little fix is coming guys


#85

!Update! [Download plugin]

  • bug fixes with notify and whole plugin

#86

!Update! [Download plugin]

  • animation added
  • Config.PlayAnimation = true -- just play animation when sold

#87

Where is the streets? cuz when i try to sell, nothing happens…