Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 20th, 2012  |  syntax: None  |  size: 0.74 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.         public static int SetTabMagic() {
  2.                 try {
  3.                         Class<?> player = Hooks.getClass(Hooks.getOpenTab[0]);
  4.                         Field f = player.getDeclaredField(Hooks.getOpenTab[1]);
  5.                         f.setAccessible(true);
  6.                         f.setInt(null, 6);
  7.                         if (f.get(Hooks.getClientInstance()) != null) {
  8.                                 return f.getInt(Hooks.getClientInstance());
  9.                         }
  10.                 } catch (SecurityException e) {
  11.                         // TODO Auto-generated catch block
  12.                         e.printStackTrace();
  13.                 } catch (NoSuchFieldException e) {
  14.                         // TODO Auto-generated catch block
  15.                         e.printStackTrace();
  16.                 } catch (IllegalArgumentException e) {
  17.                         // TODO Auto-generated catch block
  18.                         e.printStackTrace();
  19.                 } catch (IllegalAccessException e) {
  20.                         // TODO Auto-generated catch block
  21.                         e.printStackTrace();
  22.                 }
  23.                 return -1;
  24.         }