Testserver push
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user