login-nachricht für fraktionen hinzugefügt
This commit is contained in:
@@ -109,6 +109,22 @@ namespace ReallifeGamemode.Server.Events
|
||||
player.TriggerEvent("enableSpawnschutz");
|
||||
}
|
||||
|
||||
if (user.FactionId != 0)
|
||||
{
|
||||
String msg = "";
|
||||
|
||||
if (user.Faction.StateOwned)
|
||||
{
|
||||
msg = "!{33AA33}** " + user.FactionRank.RankName + " " + player.Name + " meldet sich zum Dienst, over **";
|
||||
}
|
||||
else
|
||||
{
|
||||
msg = "!{02FCFF}** " + user.FactionRank.RankName + " " + player.Name + " ist wieder online **";
|
||||
}
|
||||
|
||||
ChatService.BroadcastFaction(msg, user.Faction);
|
||||
}
|
||||
|
||||
if (user.Group != null)
|
||||
{
|
||||
string msg = $"{player.Name} ist wieder online.";
|
||||
|
||||
Reference in New Issue
Block a user