Aduty und TSupport überarbeitet

This commit is contained in:
Mac_Slash
2020-04-26 22:06:24 +02:00
parent 970c35767c
commit 91e97fea20
8 changed files with 29 additions and 24 deletions

View File

@@ -96,10 +96,13 @@ namespace ReallifeGamemode.Server.Services
}
public static void BroadcastDutyAdmin(string message)
{
foreach (Player admin in GlobalHelper.DutyAdmins)
NAPI.Pools.GetAllPlayers().ForEach(p =>
{
ChatService.SendMessage(admin, message);
}
if (p.IsAdminDuty())
{
ChatService.SendMessage(p, message);
}
});
}
public static void BroadcastGroup(string message, Group group)