Merge pull request #825 from fivemland/fix-819

fix(es_extended): default inventory showing
This commit is contained in:
Benzo
2023-01-09 11:26:51 +01:00
committed by GitHub
+4
View File
@@ -1087,6 +1087,10 @@ function ESX.Game.Utils.DrawText3D(coords, text, size, font)
end
function ESX.ShowInventory()
if not Config.EnableDefaultInventory then
return
end
local playerPed = ESX.PlayerData.ped
local elements = {
{unselectable = true, icon = 'fas fa-box', title = 'Player Inventory'}