diff --git a/[esx]/es_extended/client/main.lua b/[esx]/es_extended/client/main.lua index a10df217..1ce5d165 100644 --- a/[esx]/es_extended/client/main.lua +++ b/[esx]/es_extended/client/main.lua @@ -250,7 +250,9 @@ if not Config.OxInventory then ESX.UI.ShowInventoryItemNotification(true, item, count) end - ESX.ShowInventory() + if Config.EnableDefaultInventory then + ESX.ShowInventory() + end end) RegisterNetEvent('esx:removeInventoryItem') @@ -267,7 +269,9 @@ if not Config.OxInventory then ESX.UI.ShowInventoryItemNotification(false, item, count) end - ESX.ShowInventory() + if Config.EnableDefaultInventory then + ESX.ShowInventory() + end end) RegisterNetEvent('esx:addWeapon')