Aller au contenu
  • 0

Item stack


Question

Posté(e)

Bonjour;

J'ai fait un skript MiniJeux mais, une erreur apparaît est je ne la comprend pas

pouvez vous m'aidé ?

 

[16:56:31 INFO]: [skript] Reloading the config and all scripts...
[16:56:31 INFO]: Loaded a total of 12584 english aliases
[16:56:31 ERROR]: 'argument(s)' cannot be used if the command has multiple arguments. Use 'argument 1', 'argument 2', etc. instead (UHC-Simulateur.sk, line 165: give iron sword to slot 0 of arg-2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 166: give 6 golden apple to slot 1 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 167: give 34 cooked beef to slot 2 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 168: give 45 cobblestone to slot 3 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 169: give iron pick axe to slot 4 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 177: give diamond sword to slot 0 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 178: give 4 golden apple to slot 1 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 179: give 1 fishing rod to slot 2 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 180: give 54 cooked beef to slot 3 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 181: give 54 cobblestone to slot 4 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 182: give iron pick axe to slot 5 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 190: give diamond sword to slot 0 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 191: give 4 golden apple to slot 1 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 192: give 1 fishing rod to slot 2 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 193: give 41 cooked beef to slot 3 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 194: give 45 cobblestone to slot 4 of arg 2')
[16:56:31 ERROR]: 'argument(s)' cannot be used if the command has multiple arguments. Use 'argument 1', 'argument 2', etc. instead (UHC-Simulateur.sk, line 195: give iron pick axe to slot 5 of player-arg')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 203: give diamond sword to slot 0 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 204: give bow of power 1 to slot 1 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 205: give 12 golden apple to slot 2 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 206: give 12 cooked beef to slot 3 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 207: give 12 cobblestone to slot 4 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 208: give iron pick axe to slot 5 of arg 2')
[16:56:31 ERROR]: the 2nd argument is not an item stack (UHC-Simulateur.sk, line 209: give 64 arrow to slot 8 of arg 2')
[16:56:31 WARN]: Possible name conflict of variables {broken.type::*} and {broken.type::%loop-index%} (there might be more conflicts). (UHC-Simulateur.sk, line 250: delete {broken.type::*}')
[16:56:31 INFO]: Loaded 3 scripts with a total of 15 triggers and 4 commands in 0.44 seconds
[16:56:31 INFO]: [skript] Encountered 24 errors while reloading the config and all scripts!

 

Merci d'avance !

7 réponses à cette question

Messages recommandés

  • 0
Posté(e)
command /kit [<text>] [<player>]:
   executable by: console
   trigger:
       if arg 1 is "1":
           clear arg 2's inventory
           wait 1 tick
           give iron sword to slot 0 of arg-2
           give 6 golden apple to slot 1 of arg 2
           give 34 cooked beef to slot 2 of arg 2
           give 45 cobblestone to slot 3 of arg 2
           give iron pick axe to slot 4 of arg 2
           equip arg 2 with diamond helmet
           equip arg 2 with iron chestplate
           equip arg 2 with diamond leggings
           equip arg 2 with diamond boots
       if arg 1 is "2":
           clear arg 2's inventory
           wait 1 tick
           give diamond sword to slot 0 of arg 2
           give 4 golden apple to slot 1 of arg 2
           give 1 fishing rod to slot 2 of arg 2
           give 54 cooked beef to slot 3 of arg 2
           give 54 cobblestone to slot 4 of arg 2
           give iron pick axe to slot 5 of arg 2
           equip arg 2 with diamond helmet
           equip arg 2 with iron chestplate
           equip arg 2 with diamond leggings
           equip arg 2 with iron boots
       if arg 1 is "3":
           clear arg 2's inventory
           wait 1 tick
           give diamond sword to slot 0 of arg 2
           give 4 golden apple to slot 1 of arg 2
           give 1 fishing rod to slot 2 of arg 2
           give 41 cooked beef to slot 3 of arg 2
           give 45 cobblestone to slot 4 of arg 2
           give iron pick axe to slot 5 of
           equip arg 2 with iron helmet
           equip arg 2 with iron chestplate
           equip arg 2 with diamond leggings
           equip arg 2 with diamond boots
       if arg 1 is "4":
           clear arg 2's inventory
           wait 1 tick
           give diamond sword to slot 0 of arg 2
           give bow of power 1 to slot 1 of arg 2
           give 12 golden apple to slot 2 of arg 2
           give 12 cooked beef to slot 3 of arg 2
           give 12 cobblestone to slot 4 of arg 2
           give iron pick axe to slot 5 of arg 2
           give 64 arrow to slot 8 of arg 2
           equip arg 2 with diamond helmet
           equip arg 2 with iron chestplate
           equip arg 2 with iron leggings
           equip arg 2 with diamond boots

  • 0
Posté(e)

C'est :

 

give 12 cooked beef to slot 3 of player-arg's inventory

 

Remplace aussi tout les "arg 2" par player-arg'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.