Code:
outStream.createFrameVarSize(104);
outStream.writeByteC(3); // command slot (does it matter which one?)
outStream.writeByteA(1); // 0 or 1; 1 if command should be placed on top in context menu
outStream.writeString("Attack");
outStream.endFrameVarSize();
if (MagicHandler.itFreezes){
return;
}
outStream.createFrameVarSize(104);
outStream.writeByteC(4); // command slot (does it matter which one?)
outStream.writeByteA(0); // 0 or 1; 0 if command should be placed on top in context menu
outStream.writeString("Follow");
outStream.endFrameVarSize();
if (MagicHandler.itFreezes){
return;
}
Whenever i freeze someone there frozen and cant click anywhere but as soon as they right click and hit attack/follow then they just walk to the player but they are still frozen. Can anyone help?