J'ai déjà fait des skripts de GUI complèxes (du genre un gui de gadgets à débloquer avec de la money) mais je n'ai jamais eu ce problème:
Lorsque j'ouvre le GUI, tout fonctionne, je clique sur l'objet, cela fait appraître mon tapis mais si je veux changer la couleur (après avoir fait appraître n'importe quel tapis du GUI) RIEN NE FONCTIONNE !!!
Je suis obligé de désactiver le tapis pour que cela remarche...
Si je fais les commandes à partir du chat et non à partir du GUI, cela fonctionne si parfaitement bien que j'ai envie de détruire ce GUI xD
Mon bout de code:
on rightclick with locked chest:5:
if name of tool of player is "&a&lMagic&f&lCarpet !":
open chest with 6 row named "&a&lMagic&f&lCarpet !" to player
wait 1 tick
format slot 10 of player with glass named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc clear"]
format slot 12 of player with locked chest:14 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc red"]
format slot 14 of player with locked chest:1 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc orange"]
format slot 16 of player with locked chest:4 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc yellow"]
format slot 19 of player with locked chest:5 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc light green"]
format slot 21 of player with locked chest:13 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc green"]
format slot 23 of player with locked chest:9 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc cyan"]
format slot 25 of player with locked chest:3 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc light blue"]
format slot 28 of player with locked chest:11 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc blue"]
format slot 30 of player with locked chest:12 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc brow"]
format slot 32 of player with locked chest:10 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc purple"]
format slot 34 of player with locked chest:2 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc magenta"]
format slot 37 of player with locked chest:6 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc pink"]
format slot 39 of player with locked chest:0 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc white"]
format slot 41 of player with locked chest:8 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc light gray"]
format slot 43 of player with locked chest:7 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc gray"]
format slot 49 of player with locked chest:15 named "&a&lMagic&f&lCarpet !" to close then run [make player execute command "/mc black"]
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.
Question
PheonBest
Bonjour à tous,
J'ai déjà fait des skripts de GUI complèxes (du genre un gui de gadgets à débloquer avec de la money) mais je n'ai jamais eu ce problème:
Lorsque j'ouvre le GUI, tout fonctionne, je clique sur l'objet, cela fait appraître mon tapis mais si je veux changer la couleur (après avoir fait appraître n'importe quel tapis du GUI) RIEN NE FONCTIONNE !!!
Je suis obligé de désactiver le tapis pour que cela remarche...
Si je fais les commandes à partir du chat et non à partir du GUI, cela fonctionne si parfaitement bien que j'ai envie de détruire ce GUI xD
Mon bout de code:
19 réponses à cette question
Messages recommandés