test
This commit is contained in:
@@ -969,10 +969,12 @@ namespace ReallifeGamemode.Server.Events
|
||||
[RemoteEvent("keyPress:ControllH")]
|
||||
public void KeyPressControllH(Player player)
|
||||
{
|
||||
if (player.HasAnimation("hup")) { player.ClearAnimation(); return; }
|
||||
if (player.HasAnimation("hup")) { player.ClearAnimation(); player.AddAttachment("handcuffs", true); return; }
|
||||
if (player.HasAnimation())
|
||||
return;
|
||||
|
||||
player.AddAttachment("handcuffs", false);
|
||||
|
||||
player.SyncAnimation("hup");
|
||||
ChatService.SendInRange(player.Position, 20, $"~m~{player.Name} stellt sich...");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user