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

How to add double displayable name to players??

Discussion in 'General discussion' started by Zinkaio, Mar 31, 2018.

  1. Zinkaio

    Zinkaio Spider

    Messages:
    13
    GitHub:
    zinkaio
    [​IMG]
     

    Attached Files:

  2. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    $player->setNametag("firstnametag\nsecondnametag");
     
  3. Zinkaio

    Zinkaio Spider

    Messages:
    13
    GitHub:
    zinkaio
    thats not it
     
  4. Zinkaio

    Zinkaio Spider

    Messages:
    13
    GitHub:
    zinkaio
    [​IMG]
    example above
     
  5. Zinkaio

    Zinkaio Spider

    Messages:
    13
    GitHub:
    zinkaio
  6. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    The way it's done in the screenshot — there's a Human entity that's riding the player. The Human entity's scale is set to 0.01. But there's a problem with removing the Human rider when the player leaves the server. You may experience crashes during disconnect.
     
  7. Zinkaio

    Zinkaio Spider

    Messages:
    13
    GitHub:
    zinkaio
    gotcha. Thanks
     
  8. Zinkaio

    Zinkaio Spider

    Messages:
    13
    GitHub:
    zinkaio
    ummm tf is wrong with my prof
     
  9. Zinkaio

    Zinkaio Spider

    Messages:
    13
    GitHub:
    zinkaio
    @Muqsit Could you provide an initial code for me to get an idea or path for me to create this?
     
  10. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    they could also using an entity with name riding the player
     
  11. Zinkaio

    Zinkaio Spider

    Messages:
    13
    GitHub:
    zinkaio
    nvm I got it
     
  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.