Client guide
Inventory that is not read automatically
Call the export when an item enters or leaves:
my_inventory/client.lua
exports.gui_interface:Item("+", "water", 2) -- received 2
exports.gui_interface:Item("-", "bread", 1) -- lost 1If needed, turn off automatic reading so it does not show twice: Config.itens.automatico = false.
Item images
Config.itens.imagem = "auto" uses the running inventory’s folder (the GuiInterface.ImagemDosItens function in functions.lua). Another inventory:
config.lua
Config.itens.imagem = "nui://my_inventory/html/images/%s.png"Notifications from another script
Replace its call with exports.gui_interface:Notificar(type, text, time, title). Accepted types in Configuration.