Aller au contenu

Double gui ?


Messages recommandés

Posté(e)

Bonjour ; voila j'ai fais sa:

command /test:
   trigger:
       open chest with 3 rows named "test" to player
       wait 1 tick
       format slot 1 of player with Iron Sword named "test"  to close then run [make player execute command "/test2"

command /test2:
   trigger
       open chest with 1 rows named "test2"
       wait 1 tick
       format slot 1 of player with Iron Sword named "Sa marche ?"  to close

 

mais malheuresement quand je click sur l'epe du test normal sa m'ouvre l'inventaire du test2 mais sa me le referme aussi tot et j'aimerais savoir pourquoi ?

quelqu'un pourrais m'aider ? merci d'avance

Posté(e)

Car tu dois d'abord fermer l'inventaire actuel avec l'effet "close player's inventory".

 

command /test:
   trigger:
       open chest with 3 rows named "test" to player
       wait 1 tick
       format slot 1 of player with Iron Sword named "test"  to close then run [make player execute command "/test2"

command /test2:
   trigger
       close player's inventory
        wait 2 ticks
       open chest with 1 rows named "test2"
       wait 1 tick
       format slot 1 of player with Iron Sword named "Sa marche ?"  to close

  • J'aime 1
Posté(e)
Car tu dois d'abord fermer l'inventaire actuel avec l'effet "close player's inventory".

 

command /test:
   trigger:
       open chest with 3 rows named "test" to player
       wait 1 tick
       format slot 1 of player with Iron Sword named "test"  to close then run [make player execute command "/test2"

command /test2:
   trigger
       close player's inventory
        wait 2 ticks
       open chest with 1 rows named "test2"
       wait 1 tick
       format slot 1 of player with Iron Sword named "Sa marche ?"  to close

Ok sa marche merci beacoup, Bonne soirée.

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