Hide group buttons on use

This commit is contained in:
ebaydayz
2016-10-29 15:08:46 -04:00
parent 127be2472d
commit 07525388a6
14 changed files with 58 additions and 59 deletions

View File

@@ -1,4 +1,10 @@
private "_uid";
private ["_display","_inviteText","_joinButton","_uid"];
_display = findDisplay 80000;
_joinButton = _display displayCtrl 7;
_inviteText = _display displayCtrl 9;
{_x ctrlShow false} count [_inviteText,_joinButton];
_uid = getPlayerUID player;
//Remove all invites to this player
@@ -9,8 +15,6 @@ _uid = getPlayerUID player;
} forEach dayz_activeInvites;
dayz_activeInvites = dayz_activeInvites - ["delete"];
_this ctrlShow false;
//Sync change to all remote machines (less data than sending whole array)
PVDZ_groupInvite = [false,_uid];
publicVariableServer "PVDZ_groupInvite";