Auto promote group leader after changing clothes

This commit is contained in:
ebaydayz
2016-10-31 18:11:28 -04:00
parent f21b5b74a7
commit bff0e3281a
3 changed files with 17 additions and 1 deletions

View File

@@ -10,6 +10,12 @@ if (_event < 3) then {
uiSleep 1;
};
if (_event == -1) exitWith {
//Promote _player
PVDZ_groupInvite = [_player,0];
(owner (leader group _player)) publicVariableClient "PVDZ_groupInvite";
};
_groupUIDs = [];
{
if (alive _x && isPlayer _x) then {