Bonjour je suis un débutant en Skript d'ailleurs je suis aussi nouveau sur ce forum ^^
J'ai créer un menu de façon à dès qu'on /warp sa nous ouvre un menu avec la liste de tous les warp et quand on clique dessus sa nous téléporte la-bah mais, j'ai créer un argument que si le joueurs ne fait pas /warp (nom du warp) sa lui ouvre si il met le nom sa le tp sauf que je ne sais pas quoi mettre pour que sa le téléporte
Voici le code désolé je ne sais pas comment le mettre ^^
command /test [<text>]:
description: Se téléporté à un warp spécifique
usage: /warp [<text>]
trigger:
if arg 1 is not set:
open chest with 6 row named "&cWarp" to player
wait 1 ticks
format slot 0 of player with cyan glass named " " to close
format slot 1 of player with cyan glass named " " to close
format slot 2 of player with cyan glass named " " to close
format slot 3 of player with cyan glass named " " to close
format slot 4 of player with cyan glass named " " to close
format slot 5 of player with cyan glass named " " to close
format slot 6 of player with cyan glass named " " to close
format slot 7 of player with cyan glass named " " to close
format slot 8 of player with cyan glass named " " to close
format slot 9 of player with cyan glass named " " to close
format slot 20 of player with enchantment table named "&cWarp Enchanement" with lore "&9Permet une téléportation au Warp Enchantement." to close then run "sudo %player% warp enchant"
format slot 21 of player with end stone named "&cWarp End" with lore "&9Permet une téléportation au Warp End." to close then run "sudo %player% warp end"
format slot 18 of player with cyan glass named " " to close
format slot 26 of player with cyan glass named " " to close
format slot 17 of player with cyan glass named " " to close
format slot 27 of player with cyan glass named " " to close
format slot 35 of player with cyan glass named " " to close
format slot 36 of player with cyan glass named " " to close
format slot 44 of player with cyan glass named " " to close
format slot 45 of player with cyan glass named " " to close
format slot 53 of player with cyan glass named " " to close
format slot 46 of player with cyan glass named " " to close
format slot 47 of player with cyan glass named " " to close
format slot 48 of player with cyan glass named " " to close
format slot 49 of player with cyan glass named " " to close
format slot 50 of player with cyan glass named " " to close
format slot 51 of player with cyan glass named " " to close
format slot 52 of player with cyan glass named " " to close
format slot 22 of player with diamond helmet named "&cWarp Grade" with lore "&9Permet une téléportation au Warp Grade." to close then run "sudo %player% warp grade"
format slot 23 of player with sign named "&cWarp Shop" with lore "&9Permet une téléportation au Warp Shop." to close then run "sudo %player% warp shop"
format slot 24 of player with creeper head named "&cWarp FarmZone" with lore "&9Permet une téléportation au Warp FarmZone." to close then run "sudo %player% warp farmzone"
format slot 29 of player with clock named "&cWarp Event" with lore "&9Permet une téléportation au Warp Event." to close then run "sudo %player% warp event"
format slot 30 of player with nether brick named "&cWarp Nether" with lore "&9Permet une téléportation au Warp Nether." to close then run "sudo %player% warp nether"
format slot 31 of player with book and quill named "&cWarp Help" with lore "&9Permet une téléportation au Warp Help." to close then run "sudo %player% warp help"
if arg 1 is "enchant":
sudo %player% warp enchant
wait 5.0 second
send "&cVous êtes désormais au warp Enchantement"
if arg 1 is "end":
sudo %player% warp enchant
wait 5.0 second
send "&cVous êtes désormais au Warp Enchantement"
L'erreur c'est que le " Sudo %player% warp enchant" et "Sudo %player% warp end " n'est pas compris et me fait une erreur qui est:
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.
Question
Floww7
Bonjour je suis un débutant en Skript d'ailleurs je suis aussi nouveau sur ce forum ^^
J'ai créer un menu de façon à dès qu'on /warp sa nous ouvre un menu avec la liste de tous les warp et quand on clique dessus sa nous téléporte la-bah mais, j'ai créer un argument que si le joueurs ne fait pas /warp (nom du warp) sa lui ouvre si il met le nom sa le tp sauf que je ne sais pas quoi mettre pour que sa le téléporte
Voici le code désolé je ne sais pas comment le mettre ^^
L'erreur c'est que le " Sudo %player% warp enchant" et "Sudo %player% warp end " n'est pas compris et me fait une erreur qui est:
Can't understand this condition/effect blabla
J'espère que vous pourrez m'aidé[/code]
5 réponses à cette question
Messages recommandés