This commit is contained in:
michael.reiswich
2021-03-31 16:29:45 +02:00
parent 76e44c2c99
commit 8f6cddc3c6
3 changed files with 5 additions and 3 deletions

View File

@@ -485,7 +485,8 @@ namespace ReallifeGamemode.Server.Commands
NAPI.Pools.GetAllPlayers().ForEach(p =>
{
p.SetData("eventAllowed", true);
});
});
player.SendNotification("Der Eventchat ist nun an.");
break;
case "off":
@@ -493,6 +494,7 @@ namespace ReallifeGamemode.Server.Commands
{
p.SetData("eventAllowed", false);
});
player.SendNotification("Der Eventchat ist nun aus.");
break;
}

View File

@@ -96,7 +96,7 @@ namespace ReallifeGamemode.Server.Commands
ChatService.NotAuthorized(player);
return;
}
ChatService.BroadcastFaction("~36648B~[Event]" + player.Name + msg, new List<int>() { 9 }) ;
ChatService.BroadcastFaction("~b~[Event] " + player.Name + ": " + msg, new List<int>() { 9 }) ;
}
}