Finish Cuff using AnimationSync

+ Added Command /cuff for LSPD and FIB (Wanteds can also be cuffed using the Interaction key).
+ Added Command /syncanim for Supporter

* Player can now use CTRL + H to hup (/hup still usable)
* Cuffs break after two minutes.

TODO:
- Players in Animation cannot enter Vehicle as driver neither can drive them.
- Cuffed players will not loose their cuffs after reconnect.
This commit is contained in:
2021-04-07 03:17:02 +02:00
parent d98c742c59
commit 5cea81de72
9 changed files with 97 additions and 55 deletions

View File

@@ -111,7 +111,6 @@ namespace ReallifeGamemode.Server.Commands
return;
player.SyncAnimation("hup");
ChatService.SendInRange(player.Position, 20, $"~m~{player.Name} stellt sich...");
}
[Command("event", "~m~Benutzung: ~s~/event [Nachricht]", GreedyArg = true)]