diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index ca625ad6..91e443a2 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -248,16 +248,20 @@ namespace ReallifeGamemode.Server.Commands if(!player.IsAdminDuty()) { ChatService.SendMessage(player, "~r~ Du bist nicht im Admin-Duty-Modus!"); + ChatService.SendMessage(player, "1"+player.GetData("Adminduty")); + return; } if (!GlobalHelper.tsupAdmins.Contains(player)) { + ChatService.SendMessage(player, "2"+player.GetData("Adminduty")); GlobalHelper.tsupAdmins.Add(player); player.SetSharedData("blipColor", 30); ChatService.SendMessage(player, "~g~ ** " + "Du befindest dich im T-Support"); } else { + ChatService.SendMessage(player, "3"+player.GetData("Adminduty")); GlobalHelper.tsupAdmins.Remove(player); ChatService.SendMessage(player, "!{#ee4d2e}** " + "Du befindest dich nicht mehr im T-Support"); @@ -293,9 +297,8 @@ namespace ReallifeGamemode.Server.Commands return; } - if (player.GetData("Adminduty") == false) - { - + if (player.GetData("Adminduty") == false) + { player.SetData("Adminduty", true); ChatService.Broadcast("~g~[SUPPORT] " + player.Name + " hat sich zum Support angemeldet");