Aller au contenu
  • 0

Title avec Skript ?


Question

Posté(e)

Bonjour, je tente de créer un title (depuis la 1.8) avec skript, pour un joueur qui effectue une action:

 

command /acheter <player>:
   permission: use.Acheter
   trigger:
       set {_player} to player
       send "&8Veuillez patientez..." to arg-1
       send "&8Votre personnage va se téléporter..." to arg-1
       play raw sound "mob.enderdragon.growl" at arg-1 with pitch 1 volume 30
       equip arg-1 with a pumpkin
       wait 3 ticks
       equip arg-1 with a air
       wait 3 ticks
       equip arg-1 with a pumpkin
       wait 3 ticks
       equip arg-1 with a air
       wait 3 ticks
       equip arg-1 with a pumpkin
       wait 3 ticks
       equip arg-1 with a air
       wait 3 ticks
       equip arg-1 with a pumpkin
       wait 3 ticks
       equip arg-1 with a air
       wait 3 ticks
       equip arg-1 with a pumpkin
       wait 3 ticks
       equip arg-1 with a air
       wait 3 ticks
       equip arg-1 with a pumpkin
       wait 3 ticks
       equip arg-1 with a air
       wait 3 ticks
       equip arg-1 with a pumpkin
       wait 3 ticks
       equip arg-1 with a air
       wait 3 ticks
       equip arg-1 with a pumpkin
       wait 3 ticks
       equip arg-1 with a air
       teleport arg-1 to {Acheter.Emeraude}
       make console execute command "/title %{_player}% title {text:""¦¦¦¦¦¦"",color:white,bold:false,underlined:false,italic:false,strikethrough:false,obfuscated:false}"

 

Aucune erreur, mais le title ne marche pas :/

 

Pouvez vous m'aider ?

 

Merci

 

EDIT: J'avais pensez à mettre arg-1 à la place du %{_player}% mais en gros je veux que quand on marche sur un bloque précis, cela affiche un title avec une variable qui change, je sais faire tout cela sauf attribué un title à un joueur.

1 réponse à 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.