Use shorter file names for groups

This commit is contained in:
ebaydayz
2016-11-02 17:25:25 -04:00
parent ac99e45854
commit 93a988955f
12 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,16 @@
private ["_myGroup","_target","_targetUID"];
disableSerialization;
_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 {};
[_target] joinSilent grpNull;
dayz_myGroup = dayz_myGroup - [_targetUID];
PVDZ_Server_UpdateGroup = [2,player,_targetUID];
publicVariableServer "PVDZ_Server_UpdateGroup";
call dayz_selectGroupMember; //update lbCurSel change