/cuff positioning test

This commit is contained in:
2021-04-06 17:34:34 +02:00
parent 8ee68a5a54
commit b4fb23078b
5 changed files with 61 additions and 11 deletions

View File

@@ -56,6 +56,12 @@ namespace ReallifeGamemode.Server.Util
target.SyncAnimation(transitionTo);
}
[RemoteEvent("CLIENT:ClearAnimationData")]
public void ClearAnimationData(Player player, Player target)
{
target.ClearAnimation();
}
[ServerEvent(Event.PlayerWeaponSwitch)]
public void OnPlayerWeaponSwitch(Player player, WeaponHash oldWeapon, WeaponHash newWeapon)
{