Avec le code ci-dessous, je fais "/fk" (j'ouvre donc un GUI), ensuite je fais "/fkteams" via le panneau, ça ouvre un autre GUI, et dans ce second GUI, les "to run", "to be unstealable" ou "to close" ne fonctionnent pas.
Une proposition pour m'aider ? ^^
command /fk:
trigger:
if player is op:
wait 2 tick
open chest with 3 rows named "&2&lFallen Kingdoms > &2Configuration" to player
set {_slotfill} to 0
loop 27 times:
format slot {_slotfill} of player with green stained glass pane named " " to be unstealable
add 1 to {_slotfill}
format slot 10 of player with sign named "&a&lTeams" to run [make player execute command "/fkteams"]
format slot 11 of player with cobblestone named "&a&lBases" to be unstealable
format slot 13 of player with map named "&a&lOptions" to be unstealable
format slot 15 of player with clock named "&a&lTimers" to be unstealable
format slot 16 of player with lava bucket named "&a&lBlocs" to be unstealable
command /fkteams [<number>]:
trigger:
if player is op:
if arg 1 is not set:
wait 2 tick
open chest with 3 rows named "&2&lFallen Kingdoms > &aTeams" to player
set {_slotfill} to 0
loop 27 times:
format slot {_slotfill} of player with green stained glass pane named " " to be unstealable
add 1 to {_slotfill}
format slot 10 of player with dye:2 named "&aAjouter une team" to be unstealable
format slot 11 of player with dye:1 named "&aRetirer une team" to be unstealable
format slot 13 of player with arrow named "&c&oRetour" to run [make player execute command "/fk"]
format slot 15 of player with dye:2 named "&aAjouter un joueur" to be unstealable
format slot 16 of player with dye:1 named "&aRetirer un joueur" to be unstealable
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
EvanMartiin
Salut ! :p
Avec le code ci-dessous, je fais "/fk" (j'ouvre donc un GUI), ensuite je fais "/fkteams" via le panneau, ça ouvre un autre GUI, et dans ce second GUI, les "to run", "to be unstealable" ou "to close" ne fonctionnent pas.
Une proposition pour m'aider ? ^^
11 réponses à cette question
Messages recommandés