Aller au contenu
Angelt9Game

Problème avec les menus GUI.

Messages recommandés

Bonjour,

Je suis en création de mes menus GUI pour mon hub.

Je vous contact aujourd'hui car j'ai un problème avec mes items:

Le lit (Voir Screen) ne s'affiche pas a chaque ouverture, je dirais même qu'il apparait aléatoirement. . .

Il faut ouvrir le menu plusieurs fois de suite pour que le lit apparaisse.

Aussi un autre bug, quand le lit n'est pas visible et qu'on clic a l'endroit ou il devrait être, il nous téléporte tout de même au hub!

 

Merci Beaucoup Skripteurs et Skripteuses !

 

[spoiler=Skript (Privé)]

options:

menuprincipal: &3✦ &bMenu Principal &3✦

command /menuprincipal:

trigger:

open chest with 5 rows named "{@menuprincipal}" to player

wait 1 tick

#CADRE Ligne du haut

format slot 0 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 1 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 2 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 3 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 4 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 5 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 6 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 7 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 8 of player with 1 of cyan window glass named "&0" to be unstealable

#CADRE Ligne coté Gauche

format slot 10 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 19 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 28 of player with 1 of cyan window glass named "&0" to be unstealable

#CADRE Ligne coté Droit

format slot 16 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 25 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 34 of player with 1 of cyan window glass named "&0" to be unstealable

#CADRE Ligne bas

format slot 36 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 37 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 38 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 39 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 40 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 41 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 42 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 43 of player with 1 of cyan window glass named "&0" to be unstealable

format slot 44 of player with 1 of cyan window glass named "&0" to be unstealable

#CADRE Items Coté Gauche

format slot 9 of player with 1 of bed named "&4✦ &cHub &4✦" with lore "&cTéléportation au centre du Hub|&cClic !" to close then run [make player execute command "/hub"]

format slot 18 of player with 1 of feather named "&f✦ &7Jump &f✦" to be unstealable

format slot 27 of player with 1 of 351:11 named "&6✦ &eSalle VIP &6✦" to be unstealable

 

 

 

Et les images (Screen);

Contenu masqué

    Réagissez ou répondez à ce message afin de consulter le contenu masqué.

Contenu masqué

    Réagissez ou répondez à ce message afin de consulter le contenu masqué.

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité

Hello, ton problème vient que skript n'arrive pas à reconnaitre ton item,

 

pour le bed se n'est pas simplement "bed" mais "bed item"

;)

Partager ce message


Lien à poster
Partager sur d’autres sites

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.