testServer
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
animationSyncData.register("getArrest", "mp_arrest_paired", "crook_p2_back_right", 3760, false, 0);
|
||||
animationSyncData.register("doUncuff", "mp_arresting", "a_uncuff", 5500, false, 0);
|
||||
animationSyncData.register("getUncuff", "mp_arresting", "b_uncuff", 5500, false, 0);
|
||||
animationSyncData.register("hup", "mp_am_hold_up", "handsup_base", -1, true, 50);
|
||||
animationSyncData.register("hup", "mp_am_hold_up", "handsup_base", -1, true, 146);
|
||||
animationSyncData.register("carryBox", "anim@heists@box_carry@", "idle", -1, true, 50);
|
||||
});
|
||||
|
||||
|
||||
@@ -106,6 +106,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
[Command("hup")]
|
||||
public void CmdAnim(Player player)
|
||||
{
|
||||
if (player.HasAnimation("hup")) { player.StopAnimation(); }
|
||||
if (player.HasAnimation())
|
||||
return;
|
||||
|
||||
|
||||
@@ -969,6 +969,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
[RemoteEvent("keyPress:ControllH")]
|
||||
public void KeyPressControllH(Player player)
|
||||
{
|
||||
if (player.HasAnimation("hup")) { player.StopAnimation(); }
|
||||
if (player.HasAnimation())
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user