mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-13 03:32:56 +03:00
Add systemChat message when a new player joins the group
This commit is contained in:
@@ -27,6 +27,12 @@ if (!isNull _inviter) then {
|
||||
_oldGroup = group player;
|
||||
[player] joinSilent (group _inviter);
|
||||
if (count (units _oldGroup) == 0) then {deleteGroup _oldGroup;};
|
||||
{
|
||||
_uid = getPlayerUID _x;
|
||||
if !(_uid in dayz_myGroup) then {
|
||||
dayz_myGroup set [count dayz_myGroup,_uid];
|
||||
};
|
||||
} count (units group player);
|
||||
|
||||
// Update saved group in DB
|
||||
PVDZ_Server_UpdateGroup = [1,player];
|
||||
|
||||
Reference in New Issue
Block a user