glcallum / esx_illegal_drugs

A edited better version of the original esx_drugs. And yes... it's in english
1 stars 4 forks source link

updated es_extended now this error. #1

Open SidVicious99 opened 4 years ago

SidVicious99 commented 4 years ago

So I updated es_extended, and now the functions don't work correctly. It throws out this error:

Error resuming coroutine: server/esx_illegal_drugs_sv.lua:390: attempt to compare nil with number stack traceback: server/esx_illegal_drugs_sv.lua:390: in function <server/esx_illegal_drugs_sv.lua:382>

Think the script needs an update for it to work with ESX now.

mickiboy01 commented 3 years ago

Its bean a long time u comment issue. But if u steal a the probleme, u need an older version of es_extend. This one use sql call items (name, label, limit). The new version of es_extend us sql call items (name, label, weight, rare, can_remove). If u want to use the new version of es_extend call "weight" instead of "limit" go take the script of XxFri3ndlyxX.^^