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