Surviving players||doc135773

September 20, 2022

Format

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

Description

Get the number of players alive in the current game.


Value Returned

type Description
int Surviving players


Code Samples

Get the number of players alive in the current game

local survivePlayerCount = Game.GetSurvivePlayersCount()