How to add sounds to buttons using FormAPI

Discussion in 'Requests' started by FurryJaki1992, May 23, 2020 at 9:05 PM.

  1. FurryJaki1992

    FurryJaki1992 Creeper

    Messages:
    1
    How to add sounds to buttons using FormAPI
     
  2. RicardoMilos384

    RicardoMilos384 Spider Jockey

    Messages:
    46
    GitHub:
    RicardoMilos384
    PHP:

    case 0:
    $player->getLevel()->addSound(new PopSound($player->asVector3()));
    break;

    You can use PlaySoundPacket to add another sounds
     

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.