Display tag

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Hiqe

Member
Jul 5, 2019
10
0
0
25
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
[doublepost=1565096975,1565088772][/doublepost]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"
 
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
[doublepost=1565096975,1565088772][/doublepost]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"
you mean something like this ?
Code:
on join:
    player has permission "name.red"
    set the player's display name to "<red>[admin]<gold>%name of player%"
    set the player's tablist name to "<green>%name of player%"
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
 
you mean something like this ?
Code:
on join:
    player has permission "name.red"
    set the player's display name to "<red>[admin]<gold>%name of player%"
    set the player's tablist name to "<green>%name of player%"
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


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
 
Status
Not open for further replies.