Solved How can I view a particular header in a GUI. ADDON TuSke

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

SheewSpielt

Member
Jun 5, 2017
39
1
0

Hello, since yesterday I use in script the addon "TuSke", but now I would like to display a head in a GUI. This should show the player who is in the GUI its own header. How do I do that? Excuse me for my English, I come from Germany,
This is my code so far:
code_language.skript:
command /WarpMenüCityBuild:
    trigger:
        open virtual chest inventory with 4 rows named "{@CityBuildName}" to player
        format gui slot 4 of player with {@CityBuildItem} named "{@CityBuildName}" with lore "{@CityBuildMenuLore}" to close
        format gui slot 10 of player with grass named "&8●&a Grundstücke&8" with lore "&8»&7 Warpe dich zu den Grundstücken." to close then run player command "/EWarp Grundstücke"
        format gui slot 12 of player with dirt:1 named "&8●&a FreeBuild&8" with lore "&8»&7 Warpe dich zum FreeBuild." to close then run player command "/EWarp FreeBuild"
        format gui slot 14 of player with gold block named "&8●&a Adminshop&8" with lore "&8»&7 Warpe dich zum Adminshop." to close then run player command "/EWarp Adminshop"
        format gui slot 16 of player with spawn egg named "&8●&a Mobfarm&8" with lore "&8»&7 Warpe dich zur Mobfarm." to close then run player command "/EWarp Mobfarm"
        format gui slot 20 of player with named "&8●&a Teamhalle&8" with lore "&8»&7 Warpe dich zur Teamhalle." to close then run player command "/EWarp Teamhalle"
        format gui slot 22 of player with grass named "&8●&a Grundstücke&8" with lore "&8»&7 Warpe dich zu den Grundstücken." to close then run player command "/EWarp Grundstücke"
        format gui slot 24 of player with grass named "&8●&a Grundstücke&8" with lore "&8»&7 Warpe dich zu den Grundstücken." to close then run player command "/EWarp Grundstücke"
        format gui slot 31 of player with grass named "&8●&a Grundstücke&8" with lore "&8»&7 Warpe dich zu den Grundstücken." to close then run player command "/EWarp Grundstücke"
I have not done anything since I still do not know how to do that, then I did not know that without the addon but now no more

 
Last edited:
Either
code_language.skript:
format gui slot 0 with ("%player%" parsed as offline player)'s skull named "test" to close
Or like this
code_language.skript:
set {_pl} to "%player%" parsed as offline player
format gui slot 0 with skull of {_pl} named ""....
 
Last edited by a moderator:
Now it works, then I had probably something wrong, because I had it already times and there it was not. But thanks again thank you thank you: D
 
  • Like
Reactions: Tuke_Nuke
Status
Not open for further replies.