mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Update group tags again
Also fixed wrong string name "STR_EPOCH_RADIO_CONTACT_LOST" thanks @oiad
This commit is contained in:
@@ -5,17 +5,33 @@ _uid = _this select 1;
|
||||
|
||||
if (typeName _add == "SCALAR") exitWith {
|
||||
switch _add do {
|
||||
case -1: { (group player) selectLeader _uid; }; //Promote
|
||||
case 1: { systemChat format[localize "STR_EPOCH_PLAYER_JOINED",_uid]; };
|
||||
case -1: { //Promote
|
||||
(group player) selectLeader _uid;
|
||||
};
|
||||
case 1: {
|
||||
systemChat format[localize "STR_EPOCH_PLAYER_JOINED",_uid];
|
||||
};
|
||||
case 2: {
|
||||
if (_uid == getPlayerUID player) then {
|
||||
localize "STR_EPOCH_GROUP_KICKED" call dayz_rollingMessages;
|
||||
terminate dayz_groupTags;
|
||||
80000 cutText ["","PLAIN"];
|
||||
} else {
|
||||
systemChat format[localize "STR_EPOCH_PLAYER_KICKED",name (_uid call dayz_getPlayer)];
|
||||
};
|
||||
};
|
||||
case 3: { systemChat format[localize "STR_EPOCH_PLAYER_LEFT",_uid]; };
|
||||
case 4: { localize "STR_EPOCH_GROUP_DISBANDED" call dayz_rollingMessages; };
|
||||
case 3: {
|
||||
systemChat format[localize "STR_EPOCH_PLAYER_LEFT",_uid];
|
||||
if (count (player call dayz_filterGroup) == 1) then {
|
||||
terminate dayz_groupTags;
|
||||
80000 cutText ["","PLAIN"];
|
||||
};
|
||||
};
|
||||
case 4: {
|
||||
localize "STR_EPOCH_GROUP_DISBANDED" call dayz_rollingMessages;
|
||||
terminate dayz_groupTags;
|
||||
80000 cutText ["","PLAIN"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user