ACE3/addons/spectator/functions/fnc_players.sqf
Kyle Mckay e47e18001f
Docs - Update my display name everywhere (#9330)
* Update display name in team

* Update display name everywhere

* order

https://youtu.be/VYycQTm2HrM

---------

Co-authored-by: BrettMayson <brett@mayson.io>
2023-08-17 12:02:17 +02:00

19 lines
326 B
Plaintext

#include "script_component.hpp"
/*
* Author: kymckay
* 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) }