=changed playableUnits to allPlayers Hacking & StatusBar

This commit is contained in:
Bjanski 2016-12-04 00:30:07 +01:00
parent abb9cf13af
commit 49ac41533b
3 changed files with 3 additions and 3 deletions

View File

@ -15,4 +15,4 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
(('Exile_Item_Laptop' in (magazines player)) && ((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo -1) && (({alive _x}count playableUnits) >= ExAd_HACKING_MIN_PLAYERS_ONLINE))
(('Exile_Item_Laptop' in (magazines player)) && ((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo -1) && (({alive _x}count allPlayers) >= ExAd_HACKING_MIN_PLAYERS_ONLINE))

View File

@ -15,4 +15,4 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
(('Exile_Item_Laptop' in (magazines player)) && ((([ExileClientInteractionObject, getPlayerUID player] call ExileClient_util_territory_getAccessLevel) select 0) < ExAd_VG_ACCESS_LEVEL) && (({alive _x}count playableUnits) >= ExAd_HACKING_MIN_PLAYERS_ONLINE))
(('Exile_Item_Laptop' in (magazines player)) && ((([ExileClientInteractionObject, getPlayerUID player] call ExileClient_util_territory_getAccessLevel) select 0) < ExAd_VG_ACCESS_LEVEL) && (({alive _x}count allPlayers) >= ExAd_HACKING_MIN_PLAYERS_ONLINE))

View File

@ -19,6 +19,6 @@
private["_img","_text"];
_img = [ExAd_SB_ICON_PLAYERS] call ExAd_fnc_formatSBImage;
_text = count playableUnits;
_text = count allPlayers;
[[_img, _text]] call ExAd_fnc_formatSBOutput