hq-meldung bei logout angepasst
This commit is contained in:
@@ -226,7 +226,6 @@ namespace ReallifeGamemode.Server.Events
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if (user.Wanteds > 0)
|
|
||||||
|
|
||||||
if (user.Group != null)
|
if (user.Group != null)
|
||||||
{
|
{
|
||||||
@@ -248,8 +247,10 @@ namespace ReallifeGamemode.Server.Events
|
|||||||
|
|
||||||
ChatService.BroadcastFaction(msg, user.Faction);
|
ChatService.BroadcastFaction(msg, user.Faction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (user.Wanteds > 0)
|
||||||
{
|
{
|
||||||
ChatService.HQMessage("Der Straftäter " + user.Name + " ist vom Radar verschwunden");
|
ChatService.HQMessage($"Der Straftäter {user.Name} ist vom Radar verschwunden.");
|
||||||
}
|
}
|
||||||
|
|
||||||
player.SetData("isLoggedIn", false);
|
player.SetData("isLoggedIn", false);
|
||||||
|
|||||||
Reference in New Issue
Block a user