Add DeathScreen

This commit is contained in:
VegaZ
2018-10-21 12:44:34 +02:00
parent 14e5aef46e
commit ee767cedec
4 changed files with 54 additions and 1 deletions

View File

@@ -22,6 +22,9 @@ namespace reallife_gamemode.Server.Events
[ServerEvent(Event.PlayerDeath)]
public void OnPlayerDeath(Client player, Client killer, uint reason)
{
player.TriggerEvent("startDeathTimer");
//TODO: Zum Full Release entfernen
NAPI.Chat.SendChatMessageToPlayer(player, "Du bist durch " + killer.Name + " gestorben: " + reason.ToString());