Fix #16
This commit is contained in:
@@ -4,6 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using GTANetworkAPI;
|
||||
using Newtonsoft.Json;
|
||||
using ReallifeGamemode.Server.Managers;
|
||||
|
||||
namespace ReallifeGamemode.Server.Util
|
||||
{
|
||||
@@ -95,7 +96,14 @@ namespace ReallifeGamemode.Server.Util
|
||||
{
|
||||
player.ClearAnimation();
|
||||
if (checkTransition)
|
||||
{
|
||||
AnimPairTransition(player);
|
||||
}
|
||||
else
|
||||
{
|
||||
player.ClearAttachments();
|
||||
PositionManager.cuffPoints.Remove(player);
|
||||
}
|
||||
}
|
||||
|
||||
[ServerEvent(Event.PlayerWeaponSwitch)]
|
||||
|
||||
Reference in New Issue
Block a user