Aller au contenu

Messages recommandés

Posté(e)

Saluuuut

j'ai une question c'est possible de joué un son l'ors du commande ?

comme par exemple lors d'ouverture d'un gui faire une note

 

 

Merci

Posté(e)

ahah oui mais comment ?

on npc right click:
   if citizen is 0:
       make player execute command "menutelepor"

command /menutelepor:
   trigger:
       open chest with 4 row named "&bTeleportation" to player
       wait 5 tick
       format slot 11 of player with grass named "Monde Semi-Rp" with lore "&3Le Monde parfait de sinistos" to run [make player execute command "/sinistos"]
       format slot 13 of player with 101 named "Monde Prison" with lore "&3Le Monde redoutable de la prison" to run [make player execute command "/tpprison"]

command /prison:
   trigger:
       execute player command "/server Prison"

Posté(e)

command /menutelepor:
   trigger:
       open chest with 4 row named "&bTeleportation" to player
       play raw sound "entity.enderpearl.throw" at player with pitch 1 volume 10
       wait 5 tick
       format slot 10 of player with grass named "Monde Semi-Rp" with lore "&3Le Monde parfait de sinistos" to run [make player execute command "/sinistos"]
       format slot 12 of player with 101 named "Monde Prison" with lore "&3Le Monde redoutable de la prison" to run [make player execute command "/tpprison"]
       format slot 14 of player with diamond_block named "Monde Creatif" with lore "&3Le Monde magique de la creation" to run [make player execute command "/crea"]
       format slot 16 of player with 17:0 named "Monde Skyblock" with lore "&3Le Monde magique de lile" to run [make player execute command "/skyblock"]

 

ça marche paaas...

Posté(e)

on npc right click:
   if citizen is 0:
       make player execute command "menutelepor"

command /menutelepor:
   trigger:
       open chest with 4 row named "&bTeleportation" to player
       play "BLOCK_NOTE_HARP" to player at volume 0.4
       wait 5 tick
       format slot 10 of player with grass named "Monde Semi-Rp" with lore "&3Le Monde parfait de sinistos" to run [make player execute command "/sinistos"]
       format slot 12 of player with 101 named "Monde Prison" with lore "&3Le Monde redoutable de la prison" to run [make player execute command "/tpprison"]
       format slot 14 of player with 57 named "Monde Creatif" with lore "&3Le Monde magique de la creation" to run [make player execute command "/crea"]
       format slot 16 of player with 17:0 named "Monde Skyblock" with lore "&3Le Monde magique de lile" to run [make player execute command "/skyblock"]

 

j'ai reussi ^^

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