fix(es_extended): default inventory showing

This commit is contained in:
Csoki
2023-01-09 08:27:43 +01:00
parent 6dffa70a76
commit 1b151fa38c
+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'}