mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
fix
This commit is contained in:
@@ -432,7 +432,7 @@ function ESX.Game.GetPlayers(onlyOtherPlayers, returnKeyValue, returnPeds)
|
||||
if returnKeyValue then
|
||||
players[active[i]] = ped
|
||||
else
|
||||
players[#players + 1] = returnPeds and ped or player
|
||||
players[#players + 1] = returnPeds and ped or active[i]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user