[Release] [ESX] ESX_DRUGS (UPDATE version)

You must replace ~= to == Everywhere weed.lua, coke.lua etc…

How to deal with @esx_drugs/server/main.lua:58: attempt to compare nil with number ??

2 Likes

You must replace ~= to == Everywhere weed.lua, coke.lua etc…

How can i delete the markers, blips, red circles?

im having this problem too

Hi there. Great rework.
Does your script have any police alert interaction on drug sale?

@Pezbian no but its Coming

how do i remove the blips on the map

2 Likes

Hey Thanks for an awsome job, my ex_extended was based on Weight but i could make it work.
I have a question or idea. exampel : if someone picking up coke_leaf take amount between 1 to 3 how can i do that ?

you cannot turn off mapblip

Nice, I will be waiting for this before I look at adding it. Will be watching this topic and waiting!

i forgot that fuck, love ya

min-max requirement police ?

The whole script isn’t working for me, it gives me an error every time I try to do something.

SCRIPT ERROR: @esx_drugs/server/main.lua:58: attempt to index a nil value (local ‘xItem’)

TriggerServerCallback (@es_extended/server/functions.lua:33)

handler (@es_extended/server/common.lua:88)

3 Likes

You changed xItem on server side and didnt do it on client side!

Hi! The resource is great! I would like to be able to use the drugs and to get drug effect

How can i turn off the blip,circles and icons at drug locations?I want to keep them secrets and the players must to find the locations by themselves.

Dosent work on my server

Does Anyone know this error

e[91mSCRIPT ERROR: @esx_status/server/main.lua:33: attempt to index a nil value (field ‘?’)e[0m
e[93m> refe[0m (e[36m@esx_status/server/main.luae[0m:33)
e[93m> e[0m (e[36m@mysql-async/mysql-async.jse[0m:14959)
INFO: User [2] klaus1510187 authenticated - [1] [2] klaus1510187@83.135.90.164:62289:62289
test2
e[91mSCRIPT ERROR: @esx_skin/server/main.lua:47: attempt to index a nil value (local ‘user’)e[0m
e[93m> refe[0m (e[36m@esx_skin/server/main.luae[0m:47)
e[93m> e[0m (e[36m@mysql-async/mysql-async.jse[0m:14959)
test8
e[93mQUEUE: e[97mNutzer[license:c06c360a9d4b1efc11a6cd90118fe28881ac10ad] was placed 1/1 in queuee[0m
e[93mQUEUE: e[97mNutzer[license:c06c360a9d4b1efc11a6cd90118fe28881ac10ad] is loading into the servere[0m
Successfully Set Identity For steam:11000013e8df3e0
e[31m[ERROR] [MySQL] [esx_tattooshop] An error happens on MySQL for query “SELECT tattoos FROM users WHERE identifier = ‘steam:11000013e8df3e0’”: ER_BAD_FIELD_ERROR: Unknown column ‘tattoos’ in 'field list’e[0m
e[91mSCRIPT ERROR: @esx_tattooshop/server/main.lua:12: attempt to index a nil value (local ‘result’)e[0m
e[93m> refe[0m (e[36m@esx_tattooshop/server/main.luae[0m:12)
e[93m> e[0m (e[36m@mysql-async/mysql-async.jse[0m:14959)
test3
e[91mSCRIPT ERROR: @esx_phone3/server/main.lua:268: attempt to index a nil value (field ‘?’)e[0m
e[93m> handlere[0m (e[36m@esx_blackberry/server/main.luae[0m:35)
e[93m> handlere[0m (e[36m@es_extended/server/main.luae[0m:248)