MarioGaming877 Posté(e) le 22 avril 2016 Posté(e) le 22 avril 2016 Bonjours les amis si je viens au prêt de vous c'est parce que je rencontre un bug car je voudrais bien faire un menu en Skript mais avec plusieurs page serais t-il possible merci de me répondre les amis
Mastersfelix Posté(e) le 22 avril 2016 Posté(e) le 22 avril 2016 Oui, c'est possible, mais si tu veux qu'on t'aide il nous faut plus d'informations
Yghore Posté(e) le 23 avril 2016 Posté(e) le 23 avril 2016 command /menu <text=Menu-1>: trigger: if arg 1 is "Menu-1": wait 3 tick open chest with 1 row named "Menu 1" to player wait 4 tick format slot 5 of player with arrow named "&aPage suivante" with lore "" to close then run [make player execute "/Menu Menu-2"] if arg 1 is "Menu-2": wait 4 tick open chest with 1 row named "Menu 2" to player wait 3 tick format slot 5 of player with arrow named "&aPage suivante" with lore "" to close then run [make player execute "/Menu Menu-3"] format slot 4 of player with arrow named "&aPage précédente" with lore "" to close then run [make player execute "/Menu Menu-1"] if arg 1 is "Menu-3": wait 4 tick open chest with 1 row named "Menu 3" to player wait 3 tick format slot 4 of player with arrow named "&aPage précédente" with lore "" to close then run [make player execute "/Menu Menu-2"]
MarioGaming877 Posté(e) le 23 avril 2016 Auteur Posté(e) le 23 avril 2016 Oui, c'est possible, mais si tu veux qu'on t'aide il nous faut plus d'informations J'ai dejà commence mon menu mais je n'es pas assez de place donc il faut que je face plusieurs menu :)
MarioGaming877 Posté(e) le 23 avril 2016 Auteur Posté(e) le 23 avril 2016 command /menu: trigger: if arg 1 is "Menu-1": open chest with 1 row named "Menu" to player wait 4 tick format slot 5 of player with arrow named "&aPage suivante" with lore "" to close then run [make player execute "/Menu-2"] if arg 1 is "Menu-2": wait 4 tick open chest with 1 row named "Menu" to player wait 3 tick format slot 5 of player with arrow named "&aPage suivante" with lore "" to close then run [make player execute "/Menu-3"] format slot 4 of player with arrow named "&aPage précédente" with lore "" to close then run [make player execute "/Menu-1"] if arg 1 is "Menu-3": wait 4 tick open chest with 1 row named "Menu" to player wait 3 tick format slot 5 of player with arrow named "&aPage suivante" with lore "" to close then run [make player execute "/Menu-4"] format slot 4 of player with arrow named "&aPage précédente" with lore "" to close then run [make player execute "/Menu-2"] if arg 1 is "Menu-4": wait 4 tick open chest with 1 row named "Menu" to player wait 3 tick format slot 5 of player with arrow named "&aPage suivante" with lore "" to close format slot 4 of player with arrow named "&aPage précédente" with lore "" to close then run [make player execute "/Menu-3"] Merci je vais voir se que sa donne
_WaZzY_ Posté(e) le 23 avril 2016 Posté(e) le 23 avril 2016 Cela ne marchera pas il faut mettre to run ou then run a la place de to close then run
_WaZzY_ Posté(e) le 23 avril 2016 Posté(e) le 23 avril 2016 Non mais ton skript ne marchera jamais car sa vas pas ouvrir l'autre menu sa va ferme sa va execute bien la commande mais le menu ne s'ouvrira pas faut mettre to run a la place de to close then run
MarioGaming877 Posté(e) le 23 avril 2016 Auteur Posté(e) le 23 avril 2016 Merci beaucoup de votre Aide mais je me pose une question en faisant plusieurs Menu dans 1 seul sa fonctionne aussi
MarioGaming877 Posté(e) le 23 avril 2016 Auteur Posté(e) le 23 avril 2016 dans 1 seul ? oui dans un seul
Messages recommandés