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

Solved Help str repeat

Discussion in 'Plugin Help' started by Mochi, May 7, 2020.

  1. Mochi

    Mochi Baby Zombie

    Messages:
    113
    My skywar hud like that,how i fix that,sorry for bad english

    Code:
    PHP:
    public function getScoreboard(Player $player$class){
            
    $space str_repeat(" "75);
            
    $player->sendTip($space."     ".$this->getPlugin()->prefix."\n".$space."§7» Players: §5".count($class->getPlayers())."\n".$space."§7» Spectators: §5".count($class->getSpectators())."\n\n".$space."§7» Time: §5".gmdate("i:s"$class->running)."\n".$space."§7» Kills: §5".$class->getKills($player->getName())."\n\n".$space."§7» Refill Chest: §5".gmdate("i:s"$class->refill)."\n\n\n");
     

    Attached Files:

  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    When you remove the large amount of space, is it still off-screen?
     
  3. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Solved :)
     
    HimbeersaftLP likes this.
  4. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Removing the space solved it, or sth else?
     
  5. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Yes sir
     
  6. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Awesome
     
  7. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Sir can you help me for config?
    Please look my new tread (
     
  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.