Aller au contenu
  • 0

Besoin de vous !


Question

Posté(e)
Options:

   prefix: &7&l[e&lShop&7&l]

Command /shop [<text>]:
   trigger:
       if arg 1 isn't set:
           open chest with 3 rows named "&4&lZap&f&lCube &a| &eShop" to player
           wait 3 ticks
           format slot 11 of player with Gold Ingot named "&a✔ &bAchats &a✔" with lore " ||&6Accéder à la partie achat|| ||&6Votre argent : &e%player's money%" to run [make player execute command "shop achat"]
           format slot 0 of player with Yellow stained glass pane named " " to be unstealable
           format slot 4 of player with Yellow stained glass pane named " " to be unstealable
           format slot 8 of player with Yellow stained glass pane named " " to be unstealable
           format slot 9 of player with Yellow stained glass pane named " " to be unstealable
           format slot 13 of player with Yellow stained glass pane named " " to be unstealable
           format slot 17 of player with Yellow stained glass pane named " " to be unstealable
           format slot 18 of player with Yellow stained glass pane named " " to be unstealable
           format slot 22 of player with Yellow stained glass pane named " " to be unstealable
           format slot 26 of player with Yellow stained glass pane named " " to be unstealable
       if arg 1 is set:
           if arg 1 is "achat":
               open chest with 3 rows named "&4&lZap&f&lCube &a| &eShop Achat" to player
               wait 3 ticks
               format slot 0 of player with Yellow stained glass pane named " " to be unstealable
               format slot 4 of player with Yellow stained glass pane named " " to be unstealable
               format slot 8 of player with Yellow stained glass pane named " " to be unstealable
               format slot 9 of player with Yellow stained glass pane named " " to be unstealable
               format slot 13 of player with Yellow stained glass pane named " " to be unstealable
               format slot 17 of player with Yellow stained glass pane named " " to be unstealable
               format slot 18 of player with Yellow stained glass pane named " " to be unstealable
               format slot 22 of player with Yellow stained glass pane named " " to be unstealable
               format slot 26 of player with Yellow stained glass pane named " " to be unstealable
               format slot 11 of player with Bricks named "&a● &bBlocs de construction &a●" with lroe " ||&6Votre argent: &e%player's money%" to be unstealable


Et sa me met que "shop achat"] is not a text 

12 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Enlève if arg 1 is set et if arg 1 is achat

Ensuite ajoute else: if arg 1 is "achat

  • 0
Posté(e)

format slot 11 of player with Gold Ingot named "&a✔ &bAchats &a✔" with lore " ||&6Accéder à la partie achat|| ||&6Votre argent : &e%player's money%" to run "sudo %player% shop achat"

Et à la dernière ligne tu as mis "lroe" au lieu de "lore"

  • 0
Posté(e)
Options:

   prefix: &7&l[e&lShop&7&l]

Command /shop [<text>]:
   trigger:
       if arg 1 isn't set:
           open chest with 3 rows named "&4&lZap&f&lCube &a| &eShop" to player
           wait 3 ticks
           format slot 11 of player with Gold Ingot named "&a✔ &bAchats &a✔" with lore " ||&6Accéder à la partie achat|| ||&6Votre argent : &e%player's money%" to run [make player execute command "shop achat"]
           format slot 0 of player with Yellow stained glass pane named " " to be unstealable
           format slot 4 of player with Yellow stained glass pane named " " to be unstealable
           format slot 8 of player with Yellow stained glass pane named " " to be unstealable
           format slot 9 of player with Yellow stained glass pane named " " to be unstealable
           format slot 13 of player with Yellow stained glass pane named " " to be unstealable
           format slot 17 of player with Yellow stained glass pane named " " to be unstealable
           format slot 18 of player with Yellow stained glass pane named " " to be unstealable
           format slot 22 of player with Yellow stained glass pane named " " to be unstealable
           format slot 26 of player with Yellow stained glass pane named " " to be unstealable
       if arg 1 is set:
           if arg 1 is "achat":
               open chest with 3 rows named "&4&lZap&f&lCube &a| &eShop Achat" to player
               wait 3 ticks
               format slot 0 of player with Yellow stained glass pane named " " to be unstealable
               format slot 4 of player with Yellow stained glass pane named " " to be unstealable
               format slot 8 of player with Yellow stained glass pane named " " to be unstealable
               format slot 9 of player with Yellow stained glass pane named " " to be unstealable
               format slot 13 of player with Yellow stained glass pane named " " to be unstealable
               format slot 17 of player with Yellow stained glass pane named " " to be unstealable
               format slot 18 of player with Yellow stained glass pane named " " to be unstealable
               format slot 22 of player with Yellow stained glass pane named " " to be unstealable
               format slot 26 of player with Yellow stained glass pane named " " to be unstealable
               format slot 11 of player with Bricks named "&a● &bBlocs de construction &a●" with lroe " ||&6Votre argent: &e%player's money%" to be unstealable


Et sa me met que "shop achat"] is not a text 

le wait 3 ticks avent le open chest .

  • 0
Posté(e)

Je crois que j'ai pas solution !!!

Youpi ; j'espere que c'est ce que tu chercher :

#Je suis débutant

 

Mofification : ligne 22 j'ai mis /balance et j'ai mis en premier /shop-achat !

 

command /shop-achat:
   trigger:
       open chest with 3 rows named "&4&lZap&f&lCube &a| &eShop Achat" to player
       wait 3 ticks
       format slot 0 of player with Yellow stained glass pane named " " to be unstealable
       format slot 4 of player with Yellow stained glass pane named " " to be unstealable
       format slot 8 of player with Yellow stained glass pane named " " to be unstealable
       format slot 9 of player with Yellow stained glass pane named " " to be unstealable
       format slot 13 of player with Yellow stained glass pane named " " to be unstealable
       format slot 17 of player with Yellow stained glass pane named " " to be unstealable
       format slot 18 of player with Yellow stained glass pane named " " to be unstealable
       format slot 22 of player with Yellow stained glass pane named " " to be unstealable
       format slot 26 of player with Yellow stained glass pane named " " to be unstealable
       format slot 11 of player with Bricks named "&a● &bBlocs de construction &a●" to run [make player execute command "/balance"]





Options:

   prefix: &7&l[e&lShop&7&l]

Command /shop [<text>]:
   trigger:
       if arg 1 isn't set:
           open chest with 3 rows named "&4&lZap&f&lCube &a| &eShop" to player
           wait 3 ticks
           format slot 11 of player with Gold Ingot named "&a✔ &bAchats &a✔" to run [make player execute command "/shop-achat"]
           format slot 0 of player with Yellow stained glass pane named " " to be unstealable
           format slot 4 of player with Yellow stained glass pane named " " to be unstealable
           format slot 8 of player with Yellow stained glass pane named " " to be unstealable
           format slot 9 of player with Yellow stained glass pane named " " to be unstealable
           format slot 13 of player with Yellow stained glass pane named " " to be unstealable
           format slot 17 of player with Yellow stained glass pane named " " to be unstealable
           format slot 18 of player with Yellow stained glass pane named " " to be unstealable
           format slot 22 of player with Yellow stained glass pane named " " to be unstealable
           format slot 26 of player with Yellow stained glass pane named " " to be unstealable

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