letzte changse

This commit is contained in:
Luke
2021-06-01 14:49:06 +02:00
parent 083e07061d
commit 3612ef6c45

View File

@@ -111,23 +111,21 @@ namespace ReallifeGamemode.Server.Events
player.TriggerEvent("enableSpawnschutz");
}
/*
if (user.FactionId != null)
{
string msg = "";
if (user.Faction?.StateOwned ?? false)
if (user.Faction.StateOwned)
{
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);
ChatService.BroadcastFaction(msg, user.Faction);
}
*/
if (user.Group != null)
{