akozor Posté(e) le 21 février 2016 Posté(e) le 21 février 2016 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"
0 Izychiel Posté(e) le 21 février 2016 Posté(e) le 21 février 2016 Est ce que tu pourrais utiliser les balises code pour que le code soit plus propre ? [.code]TONCODE[./code] (sans les points). Et moi j'ai jamais eu de problème avec le "clear" :)
0 Frekzz Posté(e) le 21 février 2016 Posté(e) le 21 février 2016 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 Assaut53 Posté(e) le 21 février 2016 Posté(e) le 21 février 2016 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" 1
Question
akozor
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