mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 17:01:14 +00:00
Merge pull request #818 from Kuuzoo/patch-1
Only show Default Inventory if Config enabled.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user