Aller au contenu
  • 0

Problemes avec mon gui


Question

Posté(e)

Bonjour, alors voila j'ai essayer de faire mon premier skript et il s'avere que je n'est pas commencer tres facile j'ai donc essayer de faire un gui pour rejoindre les autres serveur du type pvp faction pvp box practice ect...

mais le problemes c'est que quand on essaye de prendre un item dans le gui bah on peux et ducoup c complexe de faire quelque chose avec sa et j'aimerais aussi savoir comment faire pour que un item dans le gui fasse une commande du type lepee en diamant fasse /spawn

 

 

pour vous aidez voici ce que j ai fait

 

# GUI

 

On rightclick with nether star:

open chest with 5 row named "Lobby - Total connectés : x" to player

wait 2 tick

format slot 1 of player with gray stained glass named " " to be unstealable

format slot 2 of player with white stained glass named " " to be unstealable

format slot 3 of player with white stained glass named " " to be unstealable

format slot 4 of player with gray stained glass named " " to be unstealable

format slot 5 of player with white stained glass named " " to be unstealable

format slot 6 of player with white stained glass named " " to be unstealable

format slot 7 of player with gray stained glass named " " to be unstealable

format slot 9 of player with gray stained glass named " " to be unstealable

format slot 10 of player with gray stained glass named " " to be unstealable

format slot 11 of player with white stained glass named " " to be unstealable

format slot 15 of player with white stained glass named " " to be unstealable

format slot 16 of player with gray stained glass named " " to be unstealable

format slot 17 of player with gray stained glass named " " to be unstealable

format slot 18 of player with gray stained glass named " " to be unstealable

format slot 19 of player with white stained glass named " " to be unstealable

format slot 20 of player with white stained glass named " " to be unstealable

format slot 24 of player with white stained glass named " " to be unstealable

format slot 25 of player with white stained glass named " " to be unstealable

format slot 26 of player with gray stained glass named " " to be unstealable

format slot 27 of player with gray stained glass named " " to be unstealable

format slot 28 of player with gray stained glass named " " to be unstealable

format slot 29 of player with white stained glass named " " to be unstealable

format slot 31 of player with gray stained glass named " " to be unstealable

format slot 33 of player with white stained glass named " " to be unstealable

format slot 34 of player with gray stained glass named " " to be unstealable

format slot 35 of player with gray stained glass named " " to be unstealable

format slot 37 of player with gray stained glass named " " to be unstealable

format slot 38 of player with white stained glass named " " to be unstealable

format slot 39 of player with white stained glass named " " to be unstealable

format slot 40 of player with gray stained glass named " " to be unstealable

format slot 41 of player with white stained glass named " " to be unstealable

format slot 42 of player with white stained glass named " " to be unstealable

format slot 43 of player with gray stained glass named " " to be unstealable

# Fonctionaliter

 

format slot 0 of player with jukebox named "&7Liens &8- &eSite/Forum" to be unstealable

#

format slot 8 of player with chest named "&7Boutique &8- &6Obtenir des bonus" to be unstealable

#

format slot 12 of player with block of redstone named "&cBientôt" to be unstealable

#

format slot 13 of player with block of redstone named "&cBientôt" to be unstealable

#

format slot 14 of player with block of redstone named "&cBientôt" to be unstealable

#

format slot 21 of player with block of redstone named "&cBientôt" to be unstealable

#

format slot 22 of player with block of redstone named "&cBientôt" to be unstealable

#

format slot 23 of player with block of redstone named "&cBientôt" to be unstealable

#

format slot 30 of player with block of redstone named "&cBientôt" to be unstealable

#

format slot 32 of player with block of redstone named "&cBientôt" to be unstealable

#

format slot 36 of player with compass named "&7Lobby &8- &9Changer de Lobby" to be unstealable

#

format slot 44 of player with block of redstone named "&cFermer l'interface" to be unstealable

1 réponse à cette question

Messages recommandés

  • 0
Posté(e)

1) Utilise Tuske pour tes guis et non SkQuery

2) Optimise ton code

3) Met ton code sous balise

 

 

on rightclick with nether star:
   open virtual chest inventory with size 5 named "Lobby - Total connectés : x" to player
   format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 15, 16, 17, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 33, 34, 35, 37, 38, 39, 40, 41, 42 and 43 of player with gray stained glass named " " to do nothing
   format gui slot 0 of player with jukebox named "&7Liens &8- &eSite/Forum" to do nothing
   format gui slot 8 of player with chest named "&7Boutique &8- &6Obtenir des bonus" to do nothing
   format gui slot 12 of player with block of redstone named "&cBientôt" to do nothing
   format gui slot 13 of player with block of redstone named "&cBientôt" to do nothing
   format gui slot 14 of player with block of redstone named "&cBientôt" to do nothing
   format gui slot 21 of player with block of redstone named "&cBientôt" to do nothing
   format gui slot 22 of player with block of redstone named "&cBientôt" to do nothing
   format gui slot 23 of player with block of redstone named "&cBientôt" to do nothing
   format gui slot 30 of player with block of redstone named "&cBientôt" to do nothing
   format gui slot 32 of player with block of redstone named "&cBientôt" to do nothing
   format gui slot 36 of player with compass named "&7Lobby &8- &9Changer de Lobby" to do nothing
   format gui slot 44 of player with block of redstone named "&cFermer l'interface" to do nothing

 

https://skript-mc.fr/forum/threads/utiliser-tuske-1.11770/

https://skript-mc.fr/forum/threads/pourquoi-est-ce-que-tuske-skquery-menus.12752/

 

Amicalement, Alex

  • J'aime 1
×
×
  • 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.