Aller au contenu
  • 0

Erreur pour le gui


Question

Posté(e)

Bonsoir,

 

Mon skript avance mais une erreur s'est présenté à moi :

[21:47:51 ERROR]: [skript] ': %{Compte.%arg 1%}%" to close then run [make console command "/cmdp %arg 1%"]' is not a valid item data (BanqueKS.sk, line 55: format slot {_s} of arg-1 with paper named "Changer le mot de passe" with lore "MDP actuel : %{Compte.%arg 1%}%" to close then run [make console command "/cmdp %arg 1%"]')
[21:47:51 ERROR]: [skript] ': %{MoneyPoche.%arg 1%}%||Argent en banque : %{MoneyBanque.%arg 1%}%" to be unstealable' is not a valid item data (BanqueKS.sk, line 51: format slot {_s} of arg-1 with arg-1's skull named arg1 with lore "Argent sur sois : %{MoneyPoche.%arg 1%}%||Argent en banque : %{MoneyBanque.%arg 1%}%" to be unstealable')
[21:47:50 ERROR]: [skript] ': %{MoneyPoche.%arg 1%}%" to close then run [make console command "/dargent %arg 1%"]' is not a valid item data (BanqueKS.sk, line 49: format slot {_s} of arg-1 with paper named "DÚposer de l'argent" with lore "Argent sur sois : %{MoneyPoche.%arg 1%}%" to close then run [make console command "/dargent %arg 1%"]')

 

Correspondant à ce code :

open chest with 1 rows named "&aBanque" to arg-1
wait 2 ticks
set {_s} to 0
loop 9 times:
   if {_s} is 2:
       format slot {_s} of arg-1 with paper named "Déposer de l'argent" with lore "Argent sur sois : %{MoneyPoche.%arg 1%}%" to close then run [make console execute command "/dargent %arg 1%]
   else if {_s} is 4:
       format slot {_s} of arg-1 with arg-1's skull named "%arg 1%" with lore "Argent sur sois : %{MoneyPoche.%arg 1%}%||Argent en banque : %{MoneyBanque.%arg 1%}%" to be unstealable
   else if {_s} is 6:
       format slot {_s} of arg-1 with paper named "Changer le mot de passe" with lore "MDP actuel : %{Compte.%arg 1%}%" to close then run [make console execute command "/cmdp%arg 1%]
   else:
       format slot {_s} of arg-1 with glass pane named "" to be unstealable
   add 1 to {_s}

 

Malheureusement, je ne comprends pas l'erreur.

 

Merci de l'aide

4 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Merci c'était ça apparemment !

 

EDIT : Une autre erreur :

[23:00:57 ERROR]: Can't understand this condition/effect: format slot {_s} of arg-1 with arg-1's skull named arg1 named "%arg 1%" with lore "Argent sur sois - %{MoneyPoche.%arg 1%}%  / Argent en banque - %{MoneyBanque.%arg 1%}%" to be unstealable (MoneyKS.sk, line 51: format slot {_s} of arg-1 with arg-1's skull named arg1 named "%arg 1%" with lore "Argent sur sois - %{MoneyPoche.%arg 1%}%  / Argent en banque - %{MoneyBanque.%arg 1%}%" to be unstealable')

 

Avec cette ligne :

format slot {_s} of arg-1 with arg-1's skull named arg1 named "%arg 1%" with lore "Argent sur sois - %{MoneyPoche.%arg 1%}%  / Argent en banque - %{MoneyBanque.%arg 1%}%" to be unstealable

 

Merci de ton aide quand même

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