rechtschreibfehler

This commit is contained in:
Fabian
2021-04-08 20:20:21 +02:00
parent 1ba49a235d
commit 9f3aee57c1
3 changed files with 8 additions and 2 deletions

View File

@@ -134,6 +134,12 @@ namespace ReallifeGamemode.Server.Events
user.PositionZ = pos.Z;
saveUser.SaveChanges();
user.Dead = player.HasData("isDead") ? (bool)player.GetData<bool>("isDead") : false;
if (user.Wanteds > 0)
{
ChatService.HQMessage("Der Straftäter " + player.GetUser().Name + " ist vom Radar verschwunden");
}
}
player.SetData("isLoggedIn", false);
player.TriggerEvent("CLIENT:DestroyPed", 1);