Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Returns the number of players on the given side. Works only in multiplayer (in single player, always returns 0).

Syntax

Syntax:playersNumber side
Parameters:
Return Value:Number - Number of players.

Examples

Examples:
_west = playersNumber west;
_east = playersNumber east;
_civ = playersNumber civilian;
hint format [ "West:%1 East:%2, Civ:%3", _west, _east, _civ];

Additional Information

See also: 
Multiplayer: 
Problems: 

Notes





playersNumber returns playable AI as well as human players. It does not include non playable AI. [NOTE: This was observed in ArmA 1.05]