Do you have the item weed_pooch in your inventory?
Yes, for example: I go to pier to sell, from time to time it makes the action of selling to a person, but then it does not work until I restart the server.
Edit: Is it necessary to have the latest artifacts on the server? I use the option: latest recommended (2431) on my Linux server.
Edit2: Now appears in F8: script:np_selltonpc script error: citizen:/scripting/lua/scheduler.lua:924: no such export sendalert in resource mythic_notify
How can i resolve this?
Yes of course, in the line, you need add the OR condition.
if distanceFromCity < Config.DistanceFromCity then
Like this:
if distanceFromCity1 < Config.DistanceFromCity or distanceFromCity2 < Config.DistanceFromCity then
If you need add more, before need add the next condition with OR.
In config.lua add coordenates.
Config.CityPointWeed1 = {x= -1687.68, y= -1055.75, z= 13.09}
Config.CityPointWeed2 = {x= -1446.49, y= -1543.07, z= 0.87}
I´m working in the automatic mark with calling another script. When is done I´ll share it here.
Enjoy
in client.lua replace all SendAlert to DoHudText
Official thread has been updated with the mythic notifications used in this script
Enjoy.
Feel free to do a pull request of this.
You could make it so that the option to have the radius enabled is configurable.
Download the mythic notifications.
Thank you, I will wait for you to finish your version
i need help please i get this error, thanks for your time
SCRIPT ERROR: @ np_selltonpc / server / server.lua: 70: Attempt to index a null value
same with me
In my end it’s working very well, maybe a little hitch warning but it’s acceptable, only issue is I’m randomly getting an error and script stops working, here’s the error:
@np_selltonpc/client/main.lua:38 attempt to concatenate a nil value (upvalue 'drugtype")
Any clues ?
I seem to be getting a Script Error when I don’t have anything in my inventory to sell and I got past an NPC.
client.lua:37: attempt to concatenate a boolean value (upvalue ‘drugtype’)
The script doesn’t work again until server restart. Any fix? Cheers!
Download the latest version, it should help.
everything is working great for me but when I go to sell any drugs and it does the animation nothing is taken out of my inventory and no money is added
anyway to make it send a message to gcphone with gps coords for a failed drug sale?
Hey dude, i get this error when applying the city limit
would you have any indication on why it says this ?
SCRIPT ERROR: @erp-selltonpc-master/client/client.lua:38: attempt to concatenate a nil value (upvalue ‘drugtype’)
Does somebody know how to make a 30 second blip for police to see where the drug is selling? I made it something like this but i’m stuck 
It show’s policemans blip, not the sellers blip
RegisterNetEvent(‘np_selltonpc:policeBlip’)
AddEventHandler(‘np_selltonpc:policeBlip’,function(blip)
local playerCoords = GetEntityCoords(PlayerPedId())
local blip = AddBlipForRadius(playerCoords.x,playerCoords.y,playerCoords.z, 150.0)
SetBlipHighDetail(blip, true)
SetBlipColour(blip, 1)
SetBlipAlpha (blip, 128)
while GetGameTimer() - timer < 10 * 1000 do
if IsControlJustPressed(0, 19) then SetNewWaypoint(playerCoords.x,playerCoords.y); end
Citizen.Wait(0)
RemoveBlip(blip)
end
I don’t see the message for "Press E to sell…
I have installed mythic_notify and progressBars…
And I have this esx_drugs: [Release] [ESX] ESX_DRUGS (UPDATE version)
Any help please?
Thx!!!

Hello, this script is so nice.
Do you know where this text is? this is for traslate, I didn’t find it in config. client.lua or server.lua