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

How can i expand the text from $player->close or $player->kick?

Discussion in 'Help' started by LewBr, Jan 11, 2018.

  1. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    Hello, recently i have used the $player->close(" ", $message); or $player->kick($message); but all those when i have a big message writed on the screen, it has a limit of the text, so how can i expand for unlimited? I need it. Should i change a thing on API?

    Images - http://prntscr.com/hz7fgr
     
    Last edited: Jan 11, 2018
  2. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    Someone?
     
  3. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Use the newline character \n
     
  4. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    '-', I have used this, but pocketmine or mcpe has a limit for characters, so I don't know if is pocketmine but if I write a "big" text on close function, they limit the character and set three dots to them, like the pic. Example:

    At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum...
     
  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.