Aller au contenu

Aide pour un FFA


Messages recommandés

Posté(e)

Mon code:

 

Command /A-Kit:

trigger:

open chest with 3 rows "&7(&bA-Kits&7) to player

wait 1 tick

format slot 13 of player with Slash potion of poison named "&aViper" to {make player execute command "/kit Viper"}

format slot 14 of player with Golden Apple named "&9Blanche-Neige" to {make player execute command "/kit Blanche-Neige"}

format slot 15 of player with Mushroom stew named "&dGrand-mère" to {make player execute command "/kit Grand-mère"}

format slot 16 of player with Iron chesplate named "&6Paladin" to {make player execute command "/kit Paladin"}

format slot 12 of player with leather chesplate named "&eGuerrier" to {make player execute command "/kit Guerrier"}

format slot 5 of player with Slimeball named "&1Spawn" to {make player execute command "/warp FFA"}

format slot 23 of player with Fire charge named "&4Quitter" to {make player execute command "/suicide"}

 

 

J'ai 8 erreure pouvez vous me le corrigez ?

Posté(e)

Command /A-Kit:
   trigger:
       open chest with 3 rows named "&7(&bA-Kits&7)" to player
       wait 1 tick
       format slot 13 of player with Slash potion of poison named "&aViper" to close then run [make player execute command "/kit Viper"]
       format slot 14 of player with Golden Apple named "&9Blanche-Neige" to close then run [make player execute command "/kit Blanche-Neige"]
       format slot 15 of player with Mushroom stew named "&dGrand-mère" to close then run [make player execute command "/kit Grand-Mère"]
       format slot 16 of player with Iron chesplate named "&6Paladin" to close then run [make player execute command "/kit paladin"]
       format slot 12 of player with leather chesplate named "&eGuerrier" to close then run [make player execute command "/kit guerrier"]
       format slot 5 of player with Slimeball named "&1Spawn" to close then run [make player execute command "/warp FFA"]
       format slot 23 of player with Fire charge named "&4Quitter" to close then run [make player execute command "/suicide"]

Posté(e)
C'est le nom des objets qui posent problème je pense. Remplace Slash par Splash, et chesplate par chestplate

D'accord, merci je vais voir ça

Posté(e)
J'irai pas jusqu'à dire ça, mais content de t'avoir aidé ^^

Random, j'ai fait un code pour que les joueur join et que ça leurs give 1 diamant tien mon code:

on join:
if player is not op:
 make console execute command "give %player% 1 diamond" 

Posté(e)
Random, j'ai fait un code pour que les joueur join et que ça leurs give 1 diamant tien mon code:

on join:
if player is not op:
 make console execute command "give %player% 1 diamond" 

Mais ça give pas au joueur

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