j'ai crée un skript menu GUI avec Tuske mais j'ai un problème, aucune erreur n'est annoncé lors du reload du script mais lorsqu'on lance le menu, et qu'on clique sur un item censé lancer une commande, ça ne le fait pas, je ne sais pas si c'est le fait que j'ai oublié quelque chose, ou que j'ai mal écrit quelque chose.
J'espère que vous pourrez m'aider ! et je vous en remercie, bonne journée / Soirée !
on rightclick holding a 6352 on a player:
set {mec} to player
make player execute command "/menufouille"
command /menufouille:
trigger:
open virtual chest inventory with size 1 named "&6Menu Fouille" to event-player
wait 3 ticks
send "&6Menu Fouille ouvert !"
create a gui slot 1 of player with 6361 to run player command "/permis %{mec}%"
wait 3 ticks
create a gui slot 4 of player with 6352 to run player command "/fouille %{mec}%"
wait 3 ticks
create a gui slot 7 of player with 6334 to close then run player command "/infocartev %{mec}%"
command /menufouille2 <player>:
trigger:
open virtual chest inventory with size 1 named "&6Menu Fouille" to player
wait 3 ticks
send "&6Menu Fouille ouvert !"
create a gui slot 1 of player with 6361 to run player command "/permis %arg 1%"
wait 3 ticks
create a gui slot 4 of player with 6352 to run player command "/fouille %arg 1%"
wait 3 ticks
create a gui slot 7 of player with 6334 to close then run player command "/infocartev %arg 1%"
on rightclick holding a 6352 on a player:
set {mec} to player
make player execute command "/menufouille"
command /menufouille:
trigger:
open virtual chest inventory with size 1 named "&6Menu Fouille" to event-player
wait 3 ticks
send "&6Menu Fouille ouvert !"
create a gui slot 1 of player with 6361 to run player command "/permis %{mec}%"
wait 3 ticks
create a gui slot 4 of player with 6352 to run player command "/fouille %{mec}%"
wait 3 ticks
create a gui slot 7 of player with 6334 to close then run player command "/infocartev %{mec}%"
command /menufouille2 <player>:
trigger:
open virtual chest inventory with size 1 named "&6Menu Fouille" to player
wait 3 ticks
send "&6Menu Fouille ouvert !"
create a gui slot 1 of player with 6361 to run player command "/permis %arg 1%"
wait 3 ticks
create a gui slot 4 of player with 6352 to run player command "/fouille %arg 1%"
wait 3 ticks
create a gui slot 7 of player with 6334 to close then run player command "/infocartev %arg 1%"
command /fouille <player>:
trigger:
wait 5 ticks
make player execute command "/invsee %{mec}%"
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
Boucki
Bonjour,
j'ai crée un skript menu GUI avec Tuske mais j'ai un problème, aucune erreur n'est annoncé lors du reload du script mais lorsqu'on lance le menu, et qu'on clique sur un item censé lancer une commande, ça ne le fait pas, je ne sais pas si c'est le fait que j'ai oublié quelque chose, ou que j'ai mal écrit quelque chose.
J'espère que vous pourrez m'aider ! et je vous en remercie, bonne journée / Soirée !
1 réponse à cette question
Messages recommandés