You should only be manually updating your ESX if you have a modified version already, in which case it's assumed you have a brain.
This guide will only link to the lines you will need to modify, assuming you are using ESX Legacy from the official repository.
Furthermore, I am only linking the bare minimum for inventory support.
- client/functions.lua
- client/main.lua
- imports.lua
- server/classes/player.lua
- server/commands.lua
- L35-L126 (ignore 101-108)
- server/common.lua
- server/main.lua
Add to server/common.lua
AddEventHandler('linden_inventory:loaded', function(data)
ESX.Items = data
end)