Aller au contenu
  • 0

Erreur "is not valid item data"


Question

Posté(e)

Bonjour

 

Durant la réalisation de mon skript, j'ai rencontré une erreur avec cette partie de code:

 

        set {_color0} to a random integer between 0 and 15
       set {_color1} to a random integer between 0 and 15
       set {_color2} to a random integer between 0 and 15
       set {_color3} to a random integer between 0 and 15
       set {_color4} to a random integer between 0 and 15
       set {_color5} to a random integer between 0 and 15
       set {_color6} to a random integer between 0 and 15
       set {_color7} to a random integer between 0 and 15
       set {_color8} to a random integer between 0 and 15
       set {_color9} to a random integer between 0 and 15
       set {_color12} to a random integer between 0 and 15
       set {_color11} to a random integer between 0 and 15
       set {_color13} to a random integer between 0 and 15
       set {_color14} to a random integer between 0 and 15
       set {_color15} to a random integer between 0 and 15
       set {_color17} to a random integer between 0 and 15
       set {_color18} to a random integer between 0 and 15
       set {_color19} to a random integer between 0 and 15
       set {_color20} to a random integer between 0 and 15
       set {_color21} to a random integer between 0 and 15
       set {_color22} to a random integer between 0 and 15
       set {_color23} to a random integer between 0 and 15
       set {_color24} to a random integer between 0 and 15
       set {_color25} to a random integer between 0 and 15
       set {_color26} to a random integer between 0 and 15
#les erreurs commences ici :(
       format slot 0 of player with 1 160:%{_color1}% named " " to be unstealable
       format slot 1 of player with 1 160:%{_color2}% named " " to be unstealable
       format slot 2 of player with 1 160:%{_color3}% named " " to be unstealable
       format slot 3 of player with 1 160:%{_color4}% named " " to be unstealable
       format slot 4 of player with 1 160:%{_color5}% named " " to be unstealable
       format slot 5 of player with 1 160:%{_color6}% named " " to be unstealable
       format slot 6 of player with 1 160:%{_color7}% named " " to be unstealable
       format slot 7 of player with 1 160:%{_color8}% named " " to be unstealable
       format slot 8 of player with 1 160:%{_color9}% named " " to be unstealable
       format slot 9 of player with 1 160:%{_color10}% named " " to be unstealable
       format slot 10 of player with 1 160:%{_color11}% named " " to be unstealable
       format slot 12 of player with 1 160:%{_color13}% named " " to be unstealable
       format slot 13 of player with 1 160:%{_color14}% named " " to be unstealable
       format slot 14 of player with 1 160:%{_color15}% named " " to be unstealable
       format slot 16 of player with 1 160:%{_color17}% named " " to be unstealable
       format slot 17 of player with 1 160:%{_color18}% named " " to be unstealable
       format slot 18 of player with 1 160:%{_color19}% named " " to be unstealable
       format slot 19 of player with 1 160:%{_color20}% named " " to be unstealable
       format slot 20 of player with 1 160:%{_color21}% named " " to be unstealable
       format slot 21 of player with 1 160:%{_color22}% named " " to be unstealable
       format slot 22 of player with 1 160:%{_color23}% named " " to be unstealable
       format slot 23 of player with 1 160:%{_color24}% named " " to be unstealable
       format slot 24 of player with 1 160:%{_color25}% named " " to be unstealable
       format slot 25 of player with 1 160:%{_color26}% named " " to be unstealable
       format slot 26 of player with 1 160:%{_color0}% named " " to be unstealable        

 

L'erreur est la suivante:

On me dit que c'est ne sont pas des item data valides.

 

Alors que si je suis {_color1}, je deviens imaginons 4, ca fait 160:4 qui est normalement un item data valide.

Je voulais savoir comment je pouvais faire pour régler cette erreur.

 

Merci d'avance

Mister_max34

5 réponses à cette question

Messages recommandés

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