mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 17:39:18 +03:00
Hide group buttons on use
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user