Arma 3 Scripting

Function in Multiplayer

BIS_fnc_listPlayers

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns a list of currently played units, alive or dead.

Syntax

call BIS_fnc_listPlayers

Returns: Array of Objects

Examples

Example 1

private _allPlayers = call BIS_fnc_listPlayers;

See also

isPlayer · playableUnits