Solved How do I set tab header and footer in 1.16?

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

    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.

ImMeh

Member
Jul 14, 2019
11
0
1
When I do:
Code:
set tab header to "Header test" and footer to "Footer test" for player

It gives me the error:
Can't understand this condition/effect: set tab header to "Header test" and footer to "Footer test" for player
 
use:
Code:
set player's tab list header to "Header test"
set player's tab list footer to "Footer test"
There is probably a way to get it in to 1 line of code but this works fine for me
 
Code:
set player's tab list header to "&cRed Header!"
set player's tab list footer to "&aGreen Header!"

You forgot to add a line. :L
 
Status
Not open for further replies.