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

how to move sendTip() around the screen

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

  1. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    I seen a server that can move around the tip all over your screen. how do I do that
     
  2. Angel

    Angel Spider Jockey

    Messages:
    44
    GitHub:
    aimjel
    (Note by @SOFe: Using PHP_EOL is very wrong! See @AshBull's post below)

    You use PHP_EOL or also know as 'End Of Line' symbol to get this.
    Using PHP_EOL once won't get your goal, but with str_repeat you can repeat PHP_EOL as much as you want
    PHP:
    // EXAMPLE
    str_repeat('HI'5);

    // Prints: HIHIHIHIHI
     
    Last edited by a moderator: Jun 9, 2018
  3. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    but sylph factions can move their tip to everywhere that cant
     
  4. Angel

    Angel Spider Jockey

    Messages:
    44
    GitHub:
    aimjel
    make two phases and switch them around in a delayed task or repeating.
     
  5. AshBull

    AshBull Spider Jockey

    Messages:
    31
    PHP_EOL varies based on the system hosting the server, use TextFormat::EOL instead for sending to the client
     
    Angel and SOFe like this.
  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.