SHARE
TWEET

Untitled

a guest May 19th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.     * Show option, attack, trade, follow etc
  3.     **/
  4.     public String optionType = "null";
  5.     public void showOption(int i, int l, String s, int a) {
  6.         if(!optionType.equalsIgnoreCase(s)) {
  7.             optionType = s;
  8.             c.getOutStream().createFrameVarSize(104);
  9.             c.getOutStream().writeByteC(i);
  10.             c.getOutStream().writeByteA(l);
  11.             c.getOutStream().writeString(s);
  12.             c.getOutStream().endFrameVarSize();
  13.             c.flushOutStream();
  14.         }
  15.     }
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top