Aller au contenu
  • 0

Bug de GUI


Question

Posté(e)

En fait le probleme c'est que j'aimerais que lorsque que l'on clique sur le

        if arg 1 is "shop":
           if {ninjapvp.%player%} is set:
               if {np.money.%uuid of player%} isn't set:
                   wait 3 ticks
                   open chest with 1 row named "&6Ta money:  &c0  &5Sky&eCoins" to player
                   wait 1 tick
                   format slot 1 of player with feather named "&2Abilitées" to run "sudo %player% np shop perk"

               else:
                   wait 3 ticks
                   open chest with 1 row named "&6Ta money: &a%{np.money.%uuid of player%}% &5Sky&eCoins" to player
                   wait 1 tick
                   format slot 1 of player with feather named "&2Abilitées"  to run "sudo %player% np shop bonus"


           if arg 2 is "bonus":
               wait 3 ticks
               open chest with 1 row named "&6Ta money:  &c0  &5Sky&eCoins" to player
               wait 1 tick
               format slot 1 of player with fishing rod named "&6Grapin du sensei" to be unstealable
           else:
               wait 3 ticks
               open chest with 1 row named "&6Ta money: &a%{np.money.%uuid of player%}% &5Sky&eCoins" to player
               wait 1 tick
               format slot 1 of player with fishing rod named "&6Grapin du sensei" to be unstealable

plume cela ouvre un autre GUI mais ca ne marche pas voila le code:

5 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Remplace

format slot 1 of player with feather named "&2Abilitées" to run "sudo %player% np shop perk"

Par

format slot 1 of player with feather named "&2Abilitées" to close then run [make player execute command "lacommande"] 

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