Hello, I have a problem with IC3. Although the player is frozen, he does not stay where he is frozen and still continues to move, and when the effect of the ice is over, he is brought to the frozen position. How can I solve this problem. Can someone help me? Thanks in advance. Emulator V: DarkOrbit 10.0.
Code:
case 18:
enemy.Storage.underR_IC3 = true;
enemy.Storage.underR_IC3Time = DateTime.Now;
if (enemy is Player)
{
(enemy as Player).SendPacket("0|n|fx|start|ICY_CUBE|" + enemy.Id + "");
(enemy as Player).SendCommand(SetSpeedCommand.write(0, 0));
}
enemy.SendPacketToInRangePlayers("0|n|fx|start|ICY_CUBE|" + enemy.Id + "");
break;