From 4464630368e35f30390faf9bff51009f4c5f9bd6 Mon Sep 17 00:00:00 2001 From: "michael.reiswich" Date: Wed, 24 Mar 2021 23:12:20 +0100 Subject: [PATCH] try --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 0b734b73..42c7aeb3 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -42,7 +42,7 @@ namespace ReallifeGamemode.Server.Commands ChatService.NotAuthorized(player); return; } - player.PlayAnimation(animDict, animName, (int)(AnimationFlags.Loop | AnimationFlags.OnlyAnimateUpperBody | AnimationFlags.AllowPlayerControl | AnimationFlags.Cancellable)); + NAPI.Player.PlayPlayerAnimation(player, (int)(AnimationFlags.Loop | AnimationFlags.AllowPlayerControl | AnimationFlags.Cancellable), animDict, animName); }