Bonjour , je te remercie de prendre de ton temps pour m'aider .
J'ai bien modifier le code comme tu me l'avais dis :
command /kit [<text>]:
trigger:
open virtual chest inventory with 4 row named "&1Menu Des Kits " to player
wait 1 ticks
make a gui slot 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32 and 34 of player with blue stained glass pane named " " to do nothing
make a gui slot 1, 3, 5, 7, 9, 11, 13, 17, 19, 21, 23, 25, 27, 29, 33 and 35 of player with yellow stained glass pane named "" to do nothing
make a gui slot 15 of player with 1 grass named "&9Kits" to close then run:
menuKit()
make a gui slot 31 of player with barrier named "&4Close Warp Menu" to close
function menuKit():
broadcast "TEST"
J'ai l'erreur suivante quand je reload le skript :
J'ai donc essayer de modifier et de faire ceci :
command /kit [<text>]:
trigger:
open virtual chest inventory with 4 row named "&1Menu Des Kits " to player
wait 1 ticks
make a gui slot 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32 and 34 of player with blue stained glass pane named " " to do nothing
make a gui slot 1, 3, 5, 7, 9, 11, 13, 17, 19, 21, 23, 25, 27, 29, 33 and 35 of player with yellow stained glass pane named "" to do nothing
make a gui slot 15 of player with 1 grass named "&9Kits" to close then run: menuKit()
make a gui slot 31 of player with barrier named "&4Close Warp Menu" to close
function menuKit():
broadcast "TEST"
Et j'ai eu cette erreur :