I have installed a new inventory and want to remove the old one ( esx addoninventory) because now I hit the inventory button it opens 2 inventory’s. I deleted esx_addoninventory out the start file and deleted the files, but Still it opens with my new inventory.
Howto disable/delete esx_addoninventory complete so only my new inventory opens?
Revert what you have done.
Remove these lines from es_extended
-- 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)
Then ```
es_extended\client\main.lua
around line 438
you have to delete this:
Summary
-Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if IsControlJustReleased(0, 289) then
if IsInputDisabled(0) and not isDead and not ESX.UI.Menu.IsOpen(‘default’, ‘es_extended’, ‘inventory’) then
ESX.ShowInventory()
end
end
end
end)
there is no F2- its 289 and for me i have removed this code but still the inventory comes up each time… have two inventory
– Menu interactions
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if IsControlJustReleased(0, 289) and IsInputDisabled(0) and not isDead and not ESX.UI.Menu.IsOpen('default', 'es_extended', 'inventory') then
ESX.ShowInventory()
end
end