From f61e6648dd167356cf2a4997b72ad212c749ee50 Mon Sep 17 00:00:00 2001 From: Arctos2win Date: Fri, 29 Sep 2023 22:30:06 +0200 Subject: [PATCH] fix last stuff --- [core]/es_extended/client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 565a2f34..19e21ac2 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -428,7 +428,7 @@ function ESX.Game.GetPlayers(onlyOtherPlayers, returnKeyValue, returnPeds) for i=1, #active do local ped = GetPlayerPed(active[i]) - if DoesEntityExist(ped) and ((onlyOtherPlayers and active[i] ~= myPlayer) or not onlyOther) then + if DoesEntityExist(ped) and ((onlyOtherPlayers and active[i] ~= myPlayer) or not onlyOtherPlayers) then if returnKeyValue then players[active[i]] = ped else