Esx_weashop + clips after buying a license the weapon shop UI won't show

So basically if I go to weapon shop and press E in the marker the shop won’t show up and I have no clue what’s the problem

go back to the marker, press E and click F8, there must be an error, share it here


here you go

in case you need this also
main.lua (5.6 KB)

do you have a weashop table inside you database?
because in the line 65, there is a function that calls “items” from config.lua file.


it’s empty and i believe it gets items from the database.

you need to upload this to your database

I have weapons in my database
image

what’s the table name?

weashops

share your config.lua file or just go and use the esx_weashop from github.

@ZerefGG okay I changed table name to weashop but now any items aren’t showing up

config.lua (1.3 KB)

why?, it must be weashops
just download the master version from github and it will work just fine.
https://github.com/ESX-Org/esx_weaponshop/archive/master.zip

wait wait wait,
the error comes from your database.
change “name” to “zone”
id, zone, item, price
instead of
id, name…

And how do I change it?

@ZerefGG


I changed column name to zone and this happened now

dude you changed tables and rows names why?
remove everything related to esx_weashop (database and folder) and reinstall it by following the instructions
https://github.com/ESX-Org/esx_weaponshop#installation
and everything will work fine

but there are no clips

2 Likes

I am having issues view weapons after a clean install of the resource…can anybody send me the sql for the original esx_weaponshops? for some reason my ‘weapons’ table is empty but the otheres are full. can buy guns though