Skip to content

Commit

Permalink
Merge pull request #1 from mrdigital0/patch-1
Browse files Browse the repository at this point in the history
Fixed /jailmenu not showing for QB-Core servers
  • Loading branch information
PickleModifications authored May 26, 2023
2 parents 25e7353 + 56a33a4 commit 34c7ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridge/qb/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ end
function GetPlayersInArea(coords, radius)
local coords = coords or GetEntityCoords(PlayerPedId())
local radius = radius or 3.0
local list = ESX.Game.GetPlayersFromCoords(coords, radius)
local list = QBCore.Functions.GetPlayersFromCoords(coords, radius)
local players = {}
for _, player in pairs(list) do
if player ~= PlayerId() then
Expand Down Expand Up @@ -71,4 +71,4 @@ CreateThread(function()
Inventory.Items = data.items
Inventory.Ready = true
end)
end)
end)

0 comments on commit 34c7ae9

Please sign in to comment.