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

@@ -5,13 +5,11 @@ _myGroup = findDisplay 80000 displayCtrl 2;
_targetUID = _myGroup lbData (lbCurSel _myGroup);
_target = _targetUID call dayz_getPlayer;
if (isNull _target or _target == player or player != leader group player) exitWith {
_this ctrlShow false;
};
if (isNull _target or _target == player or player != leader group player) exitWith {};
[_target] join grpNull;
PVDZ_Server_UpdateGroup = [2,player,_targetUID];
publicVariableServer "PVDZ_Server_UpdateGroup";
_myGroup call dayz_selectGroupMember; //update lbCurSel change
call dayz_selectGroupMember; //update lbCurSel change