spawnschutz fix mit wanteds

This commit is contained in:
Fabian
2021-04-22 22:04:50 +02:00
parent 85c599b24a
commit cfd7b61d55
2 changed files with 5 additions and 4 deletions

View File

@@ -103,6 +103,11 @@ namespace ReallifeGamemode.Server.Events
ChatService.HQMessage("Der Straftäter" + user.Name + " hat sich mit " + user.Wanteds + " Wanteds eingeloggt.");
}
if (user.Wanteds == 0)
{
player.TriggerEvent("enableSpawnschutz");
}
if (user.Group != null)
{
string msg = $"{player.Name} ist wieder online.";