noch etwas motivation übrig, vielleicht klappts ja jetzt

This commit is contained in:
Luke
2021-06-01 12:36:12 +02:00
parent 0cf5545d70
commit 980121b042

View File

@@ -109,23 +109,21 @@ namespace ReallifeGamemode.Server.Events
player.TriggerEvent("enableSpawnschutz");
}
/*
if (user.FactionId != null)
{
string msg = "";
if (user.Faction?.StateOwned ?? false)
{
msg = "!{33AA33}** " + user.FactionRank.RankName + " " + player.Name + " meldet sich zum Dienst, over **";
msg = "!{33AA33}** " + user.FactionRank?.RankName + " " + player.Name + " meldet sich zum Dienst, over **";
}
else
{
msg = "!{02FCFF}** " + user.FactionRank.RankName + " " + player.Name + " ist wieder online **";
msg = "!{02FCFF}** " + user.FactionRank?.RankName + " " + player.Name + " ist wieder online **";
}
ChatService.BroadcastFaction(msg, user.Faction);
}
*/
if (user.Group != null)
{