arma3_missions/helotraining_mp.Altis/getAlivePlayers.sqf

11 lines
235 B
Plaintext

private _returnValue = [];
private _justPlayers = (call BIS_fnc_listPlayers) - entities "HeadlessClient_F";
{
if (alive _x) then
{
[_returnValue, _x] call BIS_fnc_arrayPush;
};
} forEach _justPlayers;
_returnValue