refactor(server/functions): ESX.GetPlayers()

it only stayed for backwards compatibility
This commit is contained in:
Csoki
2023-01-22 14:35:36 +01:00
parent 597574cd08
commit e4f81a7523
+1 -9
View File
@@ -216,15 +216,7 @@ function Core.SavePlayers(cb)
end
end
function ESX.GetPlayers()
local sources = {}
for k, v in pairs(ESX.Players) do
sources[#sources + 1] = k
end
return sources
end
ESX.GetPlayers = GetPlayers
function ESX.GetExtendedPlayers(key, val)
local xPlayers = {}