Skip to content

Commit

Permalink
fix last stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Arctos2win committed Sep 29, 2023
1 parent 730f92e commit f61e664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [core]/es_extended/client/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f61e664

Please sign in to comment.