Play quit gui

Discussion in 'Plugin Development' started by Nonliker1000, Nov 26, 2014.

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

    Nonliker1000

    Hey guys, i coded a inventory gui.
    But i want that if the player closes the gui he should´nt be able to.
    So he has to select something in the gui.
    Thanks in advance :)
    Best Regards, NonLikahhh
     
  2. Offline

    xize

    Nonliker1000

    try InventoryCloseEvent with a specific tittle if the title match then cancel it or if there is no cancel reopen the inventory again ;-)
     
Thread Status:
Not open for further replies.

Share This Page