Aller au contenu
  • 0

problème de clear


Question

Posté(e)

Bonsoir,

alors voila j'ai fait un script pour un pvp pox mes quand on choisit sont kit sa ne clear pas l'inventaire d'avant

 

code:

command /bourring:

trigger:

clear inventory of player

wait 2 tick

equip player with a diamond helmet

equip player with a diamond chestplate

equip player with a diamond leggings

equip player with a diamond boots

give diamond sword to the slot 0 of player

execute player command "/tprandom"

6 réponses à cette question

Messages recommandés

  • 0
Posté(e)

J'ai eu le même problème sur mon serveur, le clear inventory ne marche pas pour moi non plus, du coup j'ai mis "execute console command "clear %player%""

Je ne sais pas trop pourquoi l'autre n'allait pas mais celle-ci fonctionne ^^

  • 0
Posté(e)

Bonjour a vous,

Le problème est lié à la 3 ème Ligne Clear.....

Voila une autre Version :

command /bourring:
   trigger:
       clear player's inventory
       wait 2 tick
       equip player with a diamond helmet
       equip player with a diamond chestplate
       equip player with a diamond leggings
       equip player with a diamond boots
       give diamond sword to the slot 0 of player
       make player execute command "/tprandom"

  • J'aime 1
×
×
  • 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.