mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Fixes for Group System thanks to He-Man
http://epochmod.com/forum/topic/41893-group-menu-broken-kick-invite-for-admin-not-possible/?do=findComment&comment=275429
This commit is contained in:
parent
9fe7239671
commit
fb7db5b804
@ -14,5 +14,6 @@
|
||||
*/
|
||||
if (!isNull (findDisplay -1300)) then {
|
||||
(findDisplay -1300) closeDisplay 0;
|
||||
uisleep 0.2;
|
||||
createDialog "Epoch_myGroup";
|
||||
};
|
||||
|
@ -20,7 +20,7 @@ EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\Data\owner.paa", "x\addons\a3_epoch_code\Data\mod.paa", "x\addons\a3_epoch_code\Data\member.paa"];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
|
@ -58,6 +58,16 @@ if ((_response select 0) == 1 && (_response select 1) isEqualType []) then {
|
||||
};
|
||||
} forEach (allPlayers select {getPlayerUID _x == _selectedPlayerUID});
|
||||
|
||||
// find player name from DB
|
||||
if (_selectedPlayerName == "Dead Player") then {
|
||||
_memberrange = ["PlayerData", _selectedPlayerUID] call EPOCH_fnc_server_hiveGETRANGE;
|
||||
if (count (_memberrange select 1) > 0) then {
|
||||
if (typename (_memberrange select 1 select 0) == "STRING") then {
|
||||
_selectedPlayerName = _memberrange select 1 select 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
_removePlayerArray = _contentArray select _modOrMemberRevert;
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user