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

Plugin doesn't show two or more text particles

Discussion in 'Development' started by Mespeczek, Mar 14, 2019.

  1. Mespeczek

    Mespeczek Silverfish

    Messages:
    15
    GitHub:
    Igomisz123
  2. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
  3. Mespeczek

    Mespeczek Silverfish

    Messages:
    15
    GitHub:
    Igomisz123
    @wolfdale
    Yes. The second location is near the yellow building (it's a duck).
     
  4. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    PHP:
        public function teksthub(){
            
    $teksta "§f§l• §aWitaj na Kres§4MC§a!\n§f§l• §aZarejestruj się: /register <hasło>\n§f§l• §aZaloguj się: /login <hasło>";
            
    $tekstb "§f§l• §aHOP DO PORTALU!\n§f§l• §aI JESTEŚ NA HUBIE";
            
    $hub $this->getServer()->getLevelByName("world");
            
    $hub->addParticle(new \pocketmine\level\particle\FloatingTextParticle(new Vector3(-179.542.528.5), $tekstb"§a... Test"));
            
    $hub->addParticle(new \pocketmine\level\particle\FloatingTextParticle(new Vector3(-175.542.539.5), $teksta"§a... Test2"));
        }
     
  5. Mespeczek

    Mespeczek Silverfish

    Messages:
    15
    GitHub:
    Igomisz123
  6. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Which version of MCPE are you running? What you're talking about is a client sided feature that was added in 1.7 IIRC.
     
  7. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Okay, the function is not called, that's what I can only say.
     
  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.