[ESX] [Supermarket]

and plus minus button fix ? ty <3

not working

Hey, that is the fix for the plus and minus buttons, they work with the default esx_supermarket in which you replace the code I mentioned.

idk what did u say XD please for examples

Just open the file main.lua that’s located in the server folder, scroll down and find the first code I posted above and replace it with the 2nd code I posted

1 Like

try this.
works for me with the plus and minus but. with the new ESX.
sry for my english

esx_supermarket-master.rar (448.0 KB)

2 Likes

please why dont work my status please help me i have this hud


the bars don’t move

not the ladder

This was the fix for @esx_supermarket/server/main.lua:95: attempt to compare nil with number

Thank you so much!

Thanks very much bro

1 Like

SCRIPT ERROR: @esx_supermarket/server/main.lua:43: attempt to index a nil value (field ‘?’)
fn (@esx_supermarket/server/main.lua:18)

Any help ?

For some reason, I cannot add a new shop to the server.

I use the config and give it the right coordinates, a blip shows but a marker does not. Does the script utilize any other scripts for markers?

Hi i got an error @esx_supermarket/server/main.lua:95: attempt to compare umber
Help me plzz!!

Hello, so im new to scripting trying to learn…

So i made this custom names for items, https://prnt.sc/r22uzs right i dont think anything is wrong here.
Next step as explained i added them to shop https://prnt.sc/r22v74
Aright i refresh the script i get theminto my shop all good, but i get displayed the default.png on them
right… So im trying to replace them with custom ones i named them as they are like “cigarett” “beer” https://prnt.sc/r22yaz on the images right. I add another line with their names as explained https://prnt.sc/r22vob there right i refresh the script it kicks me out instantly another time im trying to load into server i get error “coudlnt load resource esx_supermarket” what im i doing wrong here?

fixed… just didint put “,” at the end of my lines and i wasted hour of my life to this xdddd

Same name in the png images. all in database and nothing is shown. help
files {
‘html/ui.html’,
‘html/styles.css’,
‘html/scripts.js’,
‘html/debounce.min.js’,
‘html/iransans.otf’,

'html/img/bread.png',
'html/img/fixkit.png',
'html/img/soda.png',
'html/img/banana.png',
'html/img/orange.png',
'html/img/donut.png',
'html/img/fixkit.png',
'html/img/energy.png',
'html/img/jusfruit.png',
'html/img/close.png',
'html/img/croquettes.png',
'html/img/water.png',
'html/img/plus.png',
'html/img/minus.png',
'html/img/budweiser.png',
'html/img/corona.png',
'html/img/medalla.png',
'html/img/heneken.png',
'html/img/medalla_lata.png',
'html/img/lays.png',
'html/img/kitkat.png',
'html/img/fritos.png',
'html/img/doritos.png',
'html/img/donut2.png',
'html/img/twix.png',
'html/img/ruffles_original.png',
 'html/img/funyuns.png'

items

end shops to…

esx_supermarket |
| html |
| img

Same name in the png images. all in database and nothing is shown. help

** no message of error, once erased the name of lua only shows the water and the bread as soon as you add something everything disappears.**

Error when i try to buy something…


Thats little red Errors in my console.
I tried to fix it but i cant! Please help me my server opening March 15.

Have you tried installing a clean version and edit your DB the right way?

if so and it didn’t work, please send your code

I reinstalled DB, and the script same error. I dont modified anything.
Start config: resources.cfg (6.2 KB)

Try mine…this one is working

esx_supermarket.rar (466.0 KB)

3 Likes

how to can i fix this?