Number of players at the start of the game||doc135767

September 20, 2022

Format

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

Description

Get the number of players at the start of the game.


Value Returned

type Description
int Number of players


Code Samples

local playerCount = Game.GetStartGamePlayerCount()