Mustachedom / md-drugs

An in depth free drug script for QBCore
https://discord.gg/TwBaVECdGM
GNU General Public License v3.0
86 stars 56 forks source link

Syntax error #19

Closed BeardedSavage closed 9 months ago

BeardedSavage commented 9 months ago

Upon installation I encountered a syntax error following md-drugs/client/travellingmerchant.lua & target.lua. When I dove into the code I noticed that it calls for an "export.qb-target". Not sure if I'm correct or not on this but I don't think the lua likes the "-" in between qb and target. I'm sorry for the bother on this, any help is appreciated. I use all qb besides ps-hud.

Mustachedom commented 9 months ago

Hey! I haven't encountered any issues like that with anyone. If you're using qb-target double check your config and make sure Config.Oxtarget is set to false

BeardedSavage commented 9 months ago

It is set to false, along with Config.OxInv. There is no config with qb-target.

Mustachedom commented 9 months ago

Join the discord linked in the readme and open a ticket, I’ll take a look at everything with you and figure it out

BeardedSavage commented 9 months ago

Done

Mustachedom commented 9 months ago

fixed: user changed the ox exports to say qb causing error