hq-meldung und gruppennachricht bei login angepasst

This commit is contained in:
Luke
2021-06-01 05:18:44 +02:00
parent 1c58b64031
commit f46a47df7c

View File

@@ -101,7 +101,7 @@ namespace ReallifeGamemode.Server.Events
if (user.Wanteds > 0)
{
ChatService.HQMessage("Der Straftäter " + user.Name + " hat sich mit " + user.Wanteds + " Wanteds eingeloggt.");
ChatService.HQMessage($"Der Straftäter {user.Name} hat sich mit {user.Wanteds} Wanteds eingeloggt.");
}
/*
@@ -129,8 +129,7 @@ namespace ReallifeGamemode.Server.Events
if (user.Group != null)
{
string msg = $"{player.Name} ist wieder online.";
ChatService.BroadcastGroup(msg, user.Group);
ChatService.BroadcastGroup($"{player.Name} ist wieder online", user.Group);
}
HanfManager.UpdateHanfForPlayer(player);