1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Display tag

Discussion in 'Skript' started by Hiqe, Aug 6, 2019.

Tags:
Thread Status:
Not open for further replies.
  1. Hiqe

    Hiqe Member

    Joined:
    Jul 5, 2019
    Messages:
    10
    Likes Received:
    0
    hi i am wanting to create per player display tag and tab tag but idk the code, example: if player1 see player2 nametag are red, if player2 see player1 tag are red, if player2 see his teammate tag are green


    Me: http://prntscr.com/oohj77

    enemy: http://prntscr.com/oohjld
    --- Double Post Merged, Aug 6, 2019, Original Post Date: Aug 6, 2019 ---
    this is what i want, "&aplayer" me "&cplayer" other player, if other player see me its show "&cplayer", if im see other player its show "&cplayer", if i see myself its show "&aplayer" if other player see themself its show "&aplayer"
     
  2. Mich7272

    Mich7272 Well-Known Member

    Joined:
    Apr 12, 2019
    Messages:
    49
    Likes Received:
    0
    you mean something like this ?
    Code (Text):
    1. on join:
    2.     player has permission "name.red"
    3.     set the player's display name to "<red>[admin]<gold>%name of player%"
    4.     set the player's tablist name to "<green>%name of player%"
    5. set the name of the player's tool to "Legendary Sword of Awesomeness"
    I find this here http://en.njol.ch/projects/skript/doc/expressions#ExprName
     
  3. Hiqe

    Hiqe Member

    Joined:
    Jul 5, 2019
    Messages:
    10
    Likes Received:
    0

    no
    I am making team-based minigame and I want the nametags to be coloured red, if player is enemy and green, if player is teammate
     
Thread Status:
Not open for further replies.
Loading...