Closes #15, #13
This commit is contained in:
2021-04-07 21:58:36 +02:00
parent 0566531268
commit 26fa0ba2aa
6 changed files with 49 additions and 43 deletions

View File

@@ -106,11 +106,7 @@ namespace ReallifeGamemode.Server.Commands
[Command("hup")]
public void CmdAnim(Player player)
{
if (player.HasAnimation("hup")) { player.ClearAnimation(); return; }
if (player.HasAnimation())
return;
player.SyncAnimation("hup");
player.ToggleSurrender();
}
[Command("event", "~m~Benutzung: ~s~/event [Nachricht]", GreedyArg = true)]