Get Surviving Players||doc135771

September 20, 2022

Format

 Game.GetSurvivePlayers()
  • The class to which the function belongs:Game

Description

Get all players alive in the current game.


Value Returned

type Description
table player list


Code Samples

local tb = Game.GetSurvivePlayers()
for i, v in pairs(tb) do
    print("todo")
end