fix last stuff

This commit is contained in:
Arctos2win
2023-09-29 22:30:06 +02:00
parent 730f92ebd3
commit f61e6648dd
+1 -1
View File
@@ -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