Works like a cream, neat release brother.
Full explanation to the people who struggle with glovebox and trunk.
-
Go and download this: GitHub - ClicheUsername/esx-inventoryhud: Working FiveM ESX inventory hud. Updated April 2020
(Its out there and hasn’t been taken down so you might use It.) -
After you downloaded It. Go into your resources/[esx] and place only these 2 folders in there. esx_inventoryhud_glovebox and esx_inventoryhud_trunk.
-
Now open esx_inventoryhud which you have downloaded and take out 2 files which are called: glovebox.lua - trunk.lua
-
Navigate to conde-b1g_inventory/client and place those 2 files in there.
-
Now open glovebox.lua and change every: “esx_inventoryhud” to “conde_inventory”
-
Then go to trunk.lua and do the same.
-
Now navigate to esx_inventoryhud_trunk/client/esx_trunk-cl and replace every: “esx_inventoryhud” to “conde_inventory” then go into: server/esx_trunk-sv and do the same.
-
For glovebox, do the same. Navigate to esx_inventoryhud_glovebox/client/esx_glovebox-cl and replace every: “esx_inventoryhud” to “conde_inventory” then go into: server/esx_glovebox-sv and do the same.
-
Go back into /conde-b1g_inventory and open fxmanifest.lua
-
Add those 2 lines into:
client_scripts {
"client/trunk.lua",
"client/glovebox.lua",
Minor fix for glovebox and trunk is that text is on the menu.
Just open: /conde-b1g_inventory/html/css/ui.css
ctrl + f and search: .info-div
Now change those 2 values:
top: -160%;
line-height: 20px;
Oh and make sure you start esx_inventoryhud_glovebox and esx_inventoryhud_trunk in server.cfg
Well done. Finished. Wasn’t that easy?