Inventory HUD for ESX. You can open and close inventory using F2. Part of code was taken from es_extended.
- Drag and drop
- Using items
- Dropping items
- Giving items
- Cash included
- Accounts support (bank, black money, ...)
- Weapons support
- Fully configurable (check config.lua and html/js/config.js)
- Locale files included (check locales/ and html/locales/ directories)
cd resources
git clone https://github.com/Trsak/esx_inventoryhud [esx]/esx_inventoryhud
- Download https://github.com/Trsak/esx_inventoryhud/archive/master.zip
- Put it in the
[esx]
directory
- Open
es_extended
, then find and remove this code inclient/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)
- Add this to your
server.cfg
:
start esx_inventoryhud
- config.lua
- html/js/config.js