fix: wrong player var for openInventory

This commit is contained in:
0xDEMXN
2022-02-24 16:44:21 +01:00
parent 45ff24b532
commit ce9acf26e0
+1 -1
View File
@@ -453,7 +453,7 @@ end
function OpenBodySearchMenu(player)
if Config.OxInventory then
exports.ox_inventory:openInventory('player', GetPlayerServerId(closestPlayer))
exports.ox_inventory:openInventory('player', GetPlayerServerId(player))
return ESX.UI.Menu.CloseAll()
end