debug
This commit is contained in:
@@ -28,6 +28,8 @@ namespace ReallifeGamemode.Server.Util
|
||||
string animationName = animations.ElementAt(0);
|
||||
List<string> nextAnimations = animations.Skip(1).ToList();
|
||||
player.SyncAnimation(animationName);
|
||||
|
||||
if (nextAnimations.Count != 0)
|
||||
player.TriggerEvent("SERVER:QueueAnimations", nextAnimations.ToArray(), animationName);
|
||||
}
|
||||
|
||||
@@ -62,6 +64,7 @@ namespace ReallifeGamemode.Server.Util
|
||||
[RemoteEvent("CLIENT:AnimPairTransition")]
|
||||
public void AnimPairTransition(Player player, string[] transitionTo)
|
||||
{
|
||||
player.SendChatMessage(transitionTo.ToString());
|
||||
player.SyncAnimation(transitionTo.ToList<string>());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user