Skip to content

Commit

Permalink
Merge pull request esx-framework#825 from fivemland/fix-819
Browse files Browse the repository at this point in the history
fix(es_extended): default inventory showing
  • Loading branch information
Benzo00 authored Jan 9, 2023
2 parents 6dffa70 + 1b151fa commit 21535af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions [esx]/es_extended/client/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down

0 comments on commit 21535af

Please sign in to comment.