Merge pull request #818 from Kuuzoo/patch-1

Only show Default Inventory if Config enabled.
This commit is contained in:
Benzo
2023-01-08 10:56:03 +01:00
committed by GitHub
+6 -2
View File
@@ -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')