Installation
Add dependencies:
Installation:
Step 1:
- Download - ak47_inventoryfrom your keymaster.
- Add the script into your resources folder. 
- start ak47_inventoryin server.cfg after es_extended and make sure all other scripts are starting after the inventory script.
- Set discord webhook in - ak47_inventory/webhooks.lua
Step 2:
Make the following changes in your es_extended
es_extended/shared/config/main.lua
Config.CustomInventory = false
---
---
---
if GetResourceState("ox_inventory") ~= "missing" then
    Config.CustomInventory = false
end
---
---
---
Config.EnableDefaultInventory = falsees_extended/config.lua
Config.OxInventory = false
---
---
---
Config.EnableDefaultInventory = falseStep 3:
Make the following changes in your es_extended/server/classes/player.lua
- Add this code inside - CreateExtendedPlayerfunction.
check the image below to confirm
function self.AddMethod(methodName, handler)
    self[methodName] = handler
end- Add this code after - CreateExtendedPlayerfunction.
check the image below to confirm
function ESX.AddPlayerMethod(id, methodName, handler)
    if not ESX.Players[id] then return end
    ESX.Players[id].AddMethod(methodName, handler)
end
function ESX.SetMethod(key, value)
    ESX[key] = value
end

Notes: 
- Don't upload the script with FileZilla, Use Winscp if you are using FTP for file uploading. 
- Renaming of the script is not allowed. 
- We do not support custom frameworks, highly modified versions of ESX, or deprecated/outdated versions of anything. 
Last updated
