Error running system event handling function for resource esx_supermarket: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: @esx_supermarket/server/main.lua:43: attempt to index a nil value (field '?')
stack traceback:
@esx_supermarket/server/main.lua:43: in function 'LoadShop'
@esx_supermarket/server/main.lua:10: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:219: in function <citizen:/scripting/lua/scheduler.lua:218>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182>
you have to put the images inside html/img then add them to the __resource lua on esx_supermarket.
note: make sure the name of the image is the same name as the item.