ACE3/addons/spectator/functions/fnc_players.sqf

19 lines
330 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
/*
* Author: SilentSpike
* Return all of the player entities who are currently in ace spectator
*
* Arguments:
* None
*
* Return Value:
* Spectator Players <ARRAY>
*
* Example:
* [] call ace_spectator_fnc_players
*
* Public: Yes
*/
allPlayers select { GETVAR(_x,GVAR(isSet),false) }