Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Show option, attack, trade, follow etc
- **/
- public String optionType = "null";
- public void showOption(int i, int l, String s, int a) {
- if(!optionType.equalsIgnoreCase(s)) {
- optionType = s;
- c.getOutStream().createFrameVarSize(104);
- c.getOutStream().writeByteC(i);
- c.getOutStream().writeByteA(l);
- c.getOutStream().writeString(s);
- c.getOutStream().endFrameVarSize();
- c.flushOutStream();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement