Teach Me

Discussion in 'Requests' started by CylekPOG, Jan 14, 2021.

  1. CylekPOG

    CylekPOG Spider

    Messages:
    6
    How to send a another menu to a existing main menu and add a back button or back item to go to main menu using gui?

    Like
    $inv->setItem(0,Item::get(339, 0, 1)->setCustomName("Next Page")->setLore(["§r§7---"]));;
    $player = send($menu);
    if($item->getId() == Item::pAPER and $item->getDamage() === 0){
    $sender->getLevel()->addSound(new PopSound($sender));

    Sorry for bad code!! Im Newbie
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.