Testserver push

This commit is contained in:
2021-04-07 01:08:22 +02:00
parent e34cd3bd01
commit 52bb80a70a
9 changed files with 70 additions and 61 deletions

View File

@@ -30,8 +30,6 @@ namespace ReallifeGamemode.Server.Util
{
string animationName = animations.ElementAt(0);
List<string> nextAnimations = animations.Skip(1).ToList();
nextAnimations.ForEach(s => player.SendChatMessage(s));
player.SyncAnimation(animationName);
if (nextAnimations.Count != 0)

View File

@@ -142,13 +142,13 @@ public class AttachmentSyncExample : Script
if (!player.HasAttachment("ammobox"))
{
player.AddAttachment("ammobox", false);
player.PlayAnimation("anim@heists@box_carry@", "idle", 49);
//player.SyncAnimation("carryBox");
//veh.AddAttachment("weapondeal1", false);
//veh.AddAttachment("weapondeal2", false);
}
else
{
player.StopAnimation();
player.ClearAnimation();
player.ClearAttachments();
}