Aller au contenu
  • 0

Problème de Menu GUI


Question

Posté(e)

Bonjour a tous

 

Je fait se poste car j'ai un gros problème !

Et oui je suis un petit nouveau qui a beaucoup de mal avec le langage skript et pourtant j'arrive très bien a faire des plugins en Java mais je ne sais pas pourquoi j'ai du mal avec le skirpt !

 

Je demande votre aide car comme dans le titre je n'arrive pas a faire un Menu Gui j'ai suivis beaucoup de tutoriels même celui sur Skript Mc mais je vous demande de m'aider voici le code que j'ai fait grâce a quelque tuto.

 

(J'ai regarder mais je n'ai pas vu de demande d'aide pour Menu GUI.)

[spoiler=Code Menu GUI]

on rightclick with clock:

make player execute command "/menu"

 

 

 

command /menu:

trigger:

open chest with 5 rows named "&e&l-------=Donixill=-------" to player

wait 3 ticks

format slot 0 of player with black stained glass pane:15 named " " with to close

format slot 1 of player with black stained glass pane:15 named " " with to close

format slot 2 of player with black stained glass pane:15 named " " with to close

format slot 3 of player with black stained glass pane:15 named " " with to close

format slot 4 of player with black stained glass pane:15 named " " with to close

format slot 5 of player with black stained glass pane:15 named " " with to close

format slot 6 of player with black stained glass pane:15 named " " with to close

format slot 7 of player with black stained glass pane:15 named " " with to close

format slot 8 of player with black stained glass pane:15 named " " with to close

format slot 9 of player with black stained glass pane:15 named " " with to close

format slot 11 of player with grass item named "&eSkyBlock" with to close

format slot 13 of player with bed item named "&eBedWars" with to close

format slot 15 of player with diamond sword item named "&4PvP Faction" with to close

format slot 17 of player with black stained glass pane:15 named " " with to close

format slot 18 of player with black stained glass pane:15 named " " with to close

format slot 26 of player with black stained glass pane:15 named " " with to close

format slot 27 of player with black stained glass pane:15 named " " with to close

format slot 30 of player with crafting table item named "&bSurvie" with to close

format slot 32 of player with Sandstone item named "&cRush" with to close

format slot 34 of player with black stained glass pane:15 named " " with to close

format slot 35 of player with black stained glass pane:15 named " " with to close

format slot 36 of player with black stained glass pane:15 named " " with to close

format slot 37 of player with black stained glass pane:15 named " " with to close

format slot 38 of player with black stained glass pane:15 named " " with to close

format slot 39 of player with black stained glass pane:15 named " " with to close

format slot 40 of player with black stained glass pane:15 named " " with to close

format slot 41 of player with black stained glass pane:15 named " " with to close

format slot 42 of player with black stained glass pane:15 named " " with to close

format slot 43 of player with black stained glass pane:15 named " " with to close

 

 

 

j’espère que vous pourrez m'aidez et bien m'expliquer pour que a l'avenir j'arrive a bien savoir utiliser Skript !

 

Bonne journée et merci d'avoir lu :)

9 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Bonjour,

Tout dabord, met les ":" après "make player execute command "/menu""

Donc:

make player execute command "/menu":

 

Secondo "black stained glass pane:15"

Pourquoi "15"?

Puis je pense pas que "with" soit le problème.

 

Kriiista

  • J'aime 1
  • 0
Posté(e)

on rightclick with clock:
   make player execute command "/menu"

command /menu:
   trigger:
       open chest with 5 rows named "&e&l-------=Donixill=-------" to player
       wait 2 ticks
       format slot 0 of player with black stained glass pane named " " to close
       format slot 1 of player with black stained glass pane named " " to close
       format slot 2 of player with black stained glass pane named " " to close
       format slot 3 of player with black stained glass pane named " " to close
       format slot 4 of player with black stained glass pane named " " to close
       format slot 5 of player with black stained glass pane named " " to close
       format slot 6 of player with black stained glass pane named " " to close
       format slot 7 of player with black stained glass pane named " " to close
       format slot 8 of player with black stained glass pane named " " to close
       format slot 9 of player with black stained glass pane named " " to close
       format slot 11 of player with grass named "&eSkyBlock" to close
       format slot 13 of player with bed named "&eBedWars" to close
       format slot 15 of player with diamond sword named "&4PvP Faction" to close
       format slot 17 of player with black stained glass pane named " " to close
       format slot 18 of player with black stained glass pane named " " to close
       format slot 26 of player with black stained glass pane named " " to close
       format slot 27 of player with black stained glass pane named " " to close
       format slot 30 of player with crafting table named "&bSurvie" to close
       format slot 32 of player with Sandstone named "&cRush" to close
       format slot 35 of player with black stained glass pane named " " to close
       format slot 36 of player with black stained glass pane named " " to close
       format slot 37 of player with black stained glass pane named " " to close
       format slot 38 of player with black stained glass pane named " " to close
       format slot 39 of player with black stained glass pane named " " to close
       format slot 40 of player with black stained glass pane named " " to close
       format slot 41 of player with black stained glass pane named " " to close
       format slot 42 of player with black stained glass pane named " " to close
       format slot 43 of player with black stained glass pane named " " to close
       format slot 44 of player with black stained glass pane named " " to close

 

Voila voila, j'ai refait tout ton code sans aucune erreur si tu as encore besoins de mon aide MP moi et si tu veux encore plus d'aide n'hésite pas à me donner un TS que tu connais comme ça je te dirait comment faire ceci cela...

 

Bonne continuation :D

  • J'aime 1
  • 0
Posté(e)

@Nemesis07 Lis ceci s'il te plaît : https://skript-mc.fr/forum/threads/pourquoi-est-ce-que-tuske-skquery-menus.12752/

 

Voila voila, j'ai refait tout ton code sans aucune erreur si tu as encore besoins de mon aide MP moi et si tu veux encore plus d'aide n'hésite pas à me donner un TS que tu connais comme ça je te dirait comment faire ceci cela...

 

Bonne continuation :D

Je sais que je fais un peu relou, mais t'es au courant que Skript-MC a un discord et que c'est beaucoup mieux en général pour communiquer ?

  • 0
Posté(e)
Bonjour a tous

 

Je fait se poste car j'ai un gros problème !

Et oui je suis un petit nouveau qui a beaucoup de mal avec le langage skript et pourtant j'arrive très bien a faire des plugins en Java mais je ne sais pas pourquoi j'ai du mal avec le skirpt !

 

Je demande votre aide car comme dans le titre je n'arrive pas a faire un Menu Gui j'ai suivis beaucoup de tutoriels même celui sur Skript Mc mais je vous demande de m'aider voici le code que j'ai fait grâce a quelque tuto.

 

(J'ai regarder mais je n'ai pas vu de demande d'aide pour Menu GUI.)

[spoiler=Code Menu GUI]

on rightclick with clock:

make player execute command "/menu"

 

 

 

command /menu:

trigger:

open chest with 5 rows named "&e&l-------=Donixill=-------" to player

wait 3 ticks

format slot 0 of player with black stained glass pane:15 named " " with to close

format slot 1 of player with black stained glass pane:15 named " " with to close

format slot 2 of player with black stained glass pane:15 named " " with to close

format slot 3 of player with black stained glass pane:15 named " " with to close

format slot 4 of player with black stained glass pane:15 named " " with to close

format slot 5 of player with black stained glass pane:15 named " " with to close

format slot 6 of player with black stained glass pane:15 named " " with to close

format slot 7 of player with black stained glass pane:15 named " " with to close

format slot 8 of player with black stained glass pane:15 named " " with to close

format slot 9 of player with black stained glass pane:15 named " " with to close

format slot 11 of player with grass item named "&eSkyBlock" with to close

format slot 13 of player with bed item named "&eBedWars" with to close

format slot 15 of player with diamond sword item named "&4PvP Faction" with to close

format slot 17 of player with black stained glass pane:15 named " " with to close

format slot 18 of player with black stained glass pane:15 named " " with to close

format slot 26 of player with black stained glass pane:15 named " " with to close

format slot 27 of player with black stained glass pane:15 named " " with to close

format slot 30 of player with crafting table item named "&bSurvie" with to close

format slot 32 of player with Sandstone item named "&cRush" with to close

format slot 34 of player with black stained glass pane:15 named " " with to close

format slot 35 of player with black stained glass pane:15 named " " with to close

format slot 36 of player with black stained glass pane:15 named " " with to close

format slot 37 of player with black stained glass pane:15 named " " with to close

format slot 38 of player with black stained glass pane:15 named " " with to close

format slot 39 of player with black stained glass pane:15 named " " with to close

format slot 40 of player with black stained glass pane:15 named " " with to close

format slot 41 of player with black stained glass pane:15 named " " with to close

format slot 42 of player with black stained glass pane:15 named " " with to close

format slot 43 of player with black stained glass pane:15 named " " with to close

 

 

 

j’espère que vous pourrez m'aidez et bien m'expliquer pour que a l'avenir j'arrive a bien savoir utiliser Skript !

 

Bonne journée et merci d'avoir lu :)

Donc du coup j'ai résolu ton problème ? Si oui mets toi en résolu

  • 0
Posté(e)

Salut a tous et a toute

Je voulais vous mercier pour vos réponse mais UnWazoVer à dis d'enlever les "with" et en effet cetait le problème

ensuite

 

Bonjour,

Tout dabord, met les ":" après "make player execute command "/menu""

Donc:

make player execute command "/menu":

 

Secondo "black stained glass pane:15"

Pourquoi "15"?

Puis je pense pas que "with" soit le problème.

 

Kriiista

le :15 signifie la data (pas l'id) de la couleur noir sur les stained glass pane j'ai donc décider de le mettre pas précaution ;)

 

on rightclick with clock:

make player execute command "/menu"

 

command /menu:

trigger:

open chest with 5 rows named "&e&l-------=Donixill=-------" to player

wait 2 ticks

format slot 0 of player with black stained glass pane named " " to close

format slot 1 of player with black stained glass pane named " " to close

format slot 2 of player with black stained glass pane named " " to close

format slot 3 of player with black stained glass pane named " " to close

format slot 4 of player with black stained glass pane named " " to close

format slot 5 of player with black stained glass pane named " " to close

format slot 6 of player with black stained glass pane named " " to close

format slot 7 of player with black stained glass pane named " " to close

format slot 8 of player with black stained glass pane named " " to close

format slot 9 of player with black stained glass pane named " " to close

format slot 11 of player with grass named "&eSkyBlock" to close

format slot 13 of player with bed named "&eBedWars" to close

format slot 15 of player with diamond sword named "&4PvP Faction" to close

format slot 17 of player with black stained glass pane named " " to close

format slot 18 of player with black stained glass pane named " " to close

format slot 26 of player with black stained glass pane named " " to close

format slot 27 of player with black stained glass pane named " " to close

format slot 30 of player with crafting table named "&bSurvie" to close

format slot 32 of player with Sandstone named "&cRush" to close

format slot 35 of player with black stained glass pane named " " to close

format slot 36 of player with black stained glass pane named " " to close

format slot 37 of player with black stained glass pane named " " to close

format slot 38 of player with black stained glass pane named " " to close

format slot 39 of player with black stained glass pane named " " to close

format slot 40 of player with black stained glass pane named " " to close

format slot 41 of player with black stained glass pane named " " to close

format slot 42 of player with black stained glass pane named " " to close

format slot 43 of player with black stained glass pane named " " to close

format slot 44 of player with black stained glass pane named " " to close

 

 

Voila voila, j'ai refait tout ton code sans aucune erreur si tu as encore besoins de mon aide MP moi et si tu veux encore plus d'aide n'hésite pas à me donner un TS que tu connais comme ça je te dirait comment faire ceci cela...

 

Bonne continuation :D

 

Merci beaucoup de ton aide ;)

 

Oui je sais mais moi je préfére largement TS que Discord

 

perso je préfère discord car j'ai des problème avec TS :D

 

En tous cas merci beaucoup a tous / toute je vais demander a mettre en résolu j'ai pris gout au skript maintenant ;) !

 

(Ps: maintenant j'arrive mieu a faire des skript j'ai compris la logique et sa va tous seul maintenant :D)

  • 0
Posté(e)
Salut a tous et a toute

Je voulais vous mercier pour vos réponse mais UnWazoVer à dis d'enlever les "with" et en effet cetait le problème

ensuite

 

 

le :15 signifie la data (pas l'id) de la couleur noir sur les stained glass pane j'ai donc décider de le mettre pas précaution ;)

 

 

 

Merci beaucoup de ton aide ;)

 

 

 

perso je préfère discord car j'ai des problème avec TS :D

 

En tous cas merci beaucoup a tous / toute je vais demander a mettre en résolu j'ai pris gout au skript maintenant ;) !

 

(Ps: maintenant j'arrive mieu a faire des skript j'ai compris la logique et sa va tous seul maintenant :D)

Bonne continuation

×
×
  • Créer...

Information importante

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.