Install guide - Trsak/esx_inventoryhud GitHub Wiki

First, you have to remove default es_extended inventory:

  • 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)

Then just start resource in your server.cfg:

start esx_inventoryhud