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,17 @@
private "_group";
_group = group player;
if (count (units _group) == 1 or (!isNil "dayz_groupDisbandThread" && {!scriptDone dayz_groupDisbandThread})) exitWith {};
dayz_groupDisbanded = nil;
PVDZ_Server_UpdateGroup = [4,player];
publicVariableServer "PVDZ_Server_UpdateGroup";
dayz_groupDisbandThread = _group spawn {
//Wait for response from server to confirm group finished updating in DB
waitUntil {!isNil "dayz_groupDisbanded"};
{[_x] joinSilent grpNull} count (units _this);
deleteGroup _this;
dayz_myGroup = [];
};