Aller au contenu
  • 0

Probleme de GUI sur command


Question

Posté(e)

Bonsoir!

Mon code de Gui sur commande ne fonctionne pas:

command /gui <text>
trigger:
if arg-1 is "shopg":
  open chest with 6 row named "&3Menu&dShop" to player
  wait 3 ticks
  set slot 0 of current inventory of player to dark stained glass pane
  set slot 1 of current inventory of player to dark stained glass pane
  set slot 2 of current inventory of player to dark stained glass pane
  set slot 3 of current inventory of player to dark stained glass pane
  set slot 4 of current inventory of player to dark stained glass pane
  set slot 5 of current inventory of player to dark stained glass pane
  set slot 6 of current inventory of player to dark stained glass pane
  set slot 7 of current inventory of player to dark stained glass pane
  set slot 8 of current inventory of player to dark stained glass pane
  set slot 9 of current inventory of player to light blue stained glass pane
  set slot 10 of current inventory of player to light blue stained glass pane
  set slot 11 of current inventory of player to light blue stained glass pane
  set slot 12 of current inventory of player to light blue stained glass pane
  set slot 13 of current inventory of player to light blue stained glass pane
  set slot 14 of current inventory of player to light blue stained glass pane
  set slot 15 of current inventory of player to light blue stained glass pane
  set slot 16 of current inventory of player to light blue stained glass pane
  set slot 17 of current inventory of player to light blue stained glass pane

J'ai testé plusiers niveau de tab, rien, j'm'en remet donc a vous!

Erreurs: 1) invalid line - all code has to be put into triggers

2)y'a 1tab au lieu de 0 au trigger (Si je met 0 ca met "All code ... trigger")

3)can't understand this event: if arg-1 is "shopg":

 

Voila! Merci de vos futur reponse!

17 réponses à cette question

Messages recommandés

×
×
  • 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.