I've never used it, so that's about all I can do :/Code:public void createPlayersObjectAnim(int X,int Y,int animationID, int tileObjectType, int orientation){ if(c == null){ return; } try{ c.outStream.createFrame(85); c.outStream.writeByteC(Y - (c.mapRegionY * 8)); c.outStream.writeByteC(X - (c.mapRegionX * 8)); int x = 0; int y = 0; c.outStream.createFrame(160); c.outStream.writeByteS(((x&7) << 4) + (y&7));//tiles away - could just send 0 c.outStream.writeByteS((tileObjectType<<2) +(orientation&3)); c.outStream.writeWordA(animationID);// animation id } catch(Exception e){ e.printStackTrace(); } } public void objectAnim(int X,int Y,int animationID, int tileObjectType, int orientation) { for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { Client person = (Client)Server.playerHandler.players[i]; if(person != null) { Client cc = (Client)person; if(cc.distanceToPoint(X, Y) <= 25){ createPlayersObjectAnim(X,Y,animationID,tileObjectType,orientation); } } } } }