I Need Help!

Discussion in 'Plugin Development' started by HYPExMon5ter, Jul 22, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    HYPExMon5ter

    So Basically I Need To Have A GUI That Opens Another GUI When You Click Something, And I Cant Get It To Work, Someone Please Help! (Note My GUI's Are In Different Classes)
     
  2. Show what you already have tried. Noone is going to spoonfeed you
     
  3. Offline

    Zombie_Striker

    @HYPExMon5ter

    (Once you know the player has an inventory open)
    Player# Force close Inventory

    Grab New Inventory Instance

    Player# Open Inventory (Grabbed Instance)
     
  4. Offline

    DoggyCode™

  5. Offline

    567legodude

    @Zombie_Striker @DoggyCode™ Just a note, you don't need to close the inventory before you open a new one. When opening another inventory, the old one is automatically closed. And it also lowers the possibility of seeing that one frame between the two inventories opening.
     
    DoggyCode™ likes this.
  6. Offline

    xXkguyXx

    I Think I See Your Problem Here. What You may be doing is making the GUI the same name in the other class. For Example, Menu1.show(p);
    What You Are Still Doing to show the other menu is Menu1.show(p);
    What You Want to do is change the GUI name. Another problem might be that you didn't register the onClickevents for the GUI.
    Good Luck
     
Thread Status:
Not open for further replies.

Share This Page