1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Sound ID of xp level up sound

Discussion in 'Development' started by Levi, Jun 27, 2018.

  1. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    Whats the id sound of level up sound when you levl up xp
     
  2. KHAV

    KHAV Baby Zombie

    Messages:
    152
    GitHub:
    xkhhv
    62
     
    Lolipop78709 likes this.
  3. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    Where u found it
     
  4. KHAV

    KHAV Baby Zombie

    Messages:
    152
    GitHub:
    xkhhv
  5. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    doesnt work
     
  6. KHAV

    KHAV Baby Zombie

    Messages:
    152
    GitHub:
    xkhhv
    I don't know:)
     
    Last edited: Jun 28, 2018
  7. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    How does it "not work"? Are there any errors? Does it give any sound? If not, send your code. If it sends a different sound, what is it? Maybe just try different IDs until you find it.
     
  8. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
  9. KHAV

    KHAV Baby Zombie

    Messages:
    152
    GitHub:
    xkhhv
  10. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    PHP:
    public function playSound(Player $playerint $id)
        {
            
    $pk = new LevelSoundEventPacket();
            
    $pk->sound $id;
            
    $pk->position = new Vector3($player->x$player->y$player->z);
            
    $player->dataPacket($pk);
        }
    $this->playSound($player,62);
     
  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.