Hey all, I am using esx_shops and esx_inventoryhud and all of my items are showing undefined at the top of the pictures. I have searched all over the interwebs and can not find a fix for it. Any help would be appreciated.
Have you disabled the default esx inventory before installing esx_inventoryhud?
Default ESX Inventory fix
If not this is more then likely your issue to disable it
Open es_extended, then find and remove this code in client/main.lua:
-- Menu interactions
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if IsControlJustReleased(0, Keys['F2']) and IsInputDisabled(0) and not isDead and not ESX.UI.Menu.IsOpen('default', 'es_extended', 'inventory') then
ESX.ShowInventory()
end
end
end)
esx_addoninventory FIX
If you have esx_addoninventory instead of the default then follow this to try and fix it
Also need to Fix for esx_addoninventory:
Go to esx_addoninventory\server\classes\addoninventory.lua
line 39
Replace label = Items[name]
to label = items[name]
I have done this, and it didn’t help. Sadly, it is just the prices that are listed as undefined. I have adjusted prices in my db as well. Nothing seems to work. I may have to change my inv script. Thank you for your help.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.