Aller au contenu
  • 0

Problème d'ouverture de menu


Question

Posté(e) (modifié)

Bonsoir les gens ! sa fait un bail que je n'étais pas là !

J'espere que je zappe pas des étapes à faire avant de poster un sujet d'aide.

Alors tout simplement mon menu ne s'ouvre pas quand je fais la commande en saisissant le nom du joueur par la suite. J'ai le fameux message d'erreur 'An internal error gneugneu'
 

Veuillez m'aider svp

 

command /gradek [<text>] [<text>]:
	permission: admin
	trigger:	
		if arg 2 is not set:
			open chest with 3 row named "&bMenu de grade pour &3%arg 1%" to player
			wait 2 tick
			format slot 0 of player with glowing paper named "&6Staff: &aBuilder" with lore "&bPour mettre &3%arg 1%||&ben &aBuilder" to close then run [make player execute command "/gradek %arg 1% builder"]
			format slot 1 of player with glowing paper named "&6Staff: &aModérateur" with lore "&bPour mettre &3%arg 1%||&ben &aModérateur" to close then run [make player execute command "/gradek %arg 1% moderateur"]
			format slot 2 of player with glowing paper named "&6Staff: &aAdministrateur" with lore "&bPour mettre &3%arg 1%||&ben &aAdministrateur" to close then run [make player execute command "/gradek %arg 1% admin"]

			format slot 18 of player with paper named "&6Joueur: &aJoueur" with lore "&bPour mettre &3%arg 1%||&ben &aJoueur" to close then run [make player execute command "/gradek %arg 1% joueur"]
			format slot 20 of player with paper named "&6Joueur: &aMini V.I.P" with lore "&bPour mettre &3%arg 1%||&ben &aMini V.I.P" to close then run [make player execute command "/gradek %arg 1% minivip"]
			format slot 21 of player with paper named "&6Joueur: &aV.I.P" with lore "&bPour mettre &3%arg 1%||&ben &aV.I.P" to close then run [make player execute command "/gradek %arg 1% vip"]
			format slot 22 of player with paper named "&6Joueur: &aV.I.P+" with lore "&bPour mettre &3%arg 1%||&ben &aV.I.P+" to close then run [make player execute command "/gradek %arg 1% vip+"]

			format slot 9 of player with white stained glass pane named " " to be unstealable
			format slot 10 of player with white stained glass pane named " " to be unstealable
			format slot 11 of player with white stained glass pane named " " to be unstealable
			format slot 12 of player with white stained glass pane named " " to be unstealable
			format slot 13 of player with white stained glass pane named " " to be unstealable
			format slot 14 of player with white stained glass pane named " " to be unstealable	
			format slot 15 of player with white stained glass pane named " " to be unstealable			
			format slot 16 of player with white stained glass pane named " " to be unstealable		
			format slot 17 of player with white stained glass pane named " " to be unstealable		

		

 

Modifié par MrForoche

3 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Salut.

Tu peux retirer skQuery de ton serveur, il ne sert pas beaucoup. Tu peux créer des menus sans compléments :

command /menu:
	executable by: players
	trigger:
		open a chest inventory with 6 rows named "Mon menu" to the player
		set the slot 0 of the player's current inventory to a diamond

on inventory click:
	if the name of the clicked inventory is "Mon menu":
		cancel the event
		if the clicked slot is a diamond:
			close the player's inventory
			make player execute command "/say Hi!"

 

Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.
×
×
  • 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.