mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
fix last stuff
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user