LanKeiy Posté(e) le 27 mai 2016 Posté(e) le 27 mai 2016 Bonjour, je recherche un Skript permettant de se tp a des endroits différents dans le Hub le mien est vraiment mal fait car je mis connais très peu en Skript, j'aimerais bien me tp en 6 64 45 (Pour la partie Staff), en 55 70 -6 (Pour le Jump) et en 15 74 -5 (Pour le spawn). Ne vous occupez pas du reste ^^ merci :D[ATTACH=full]1985[/ATTACH] [ATTACH=full]1986[/ATTACH]
Mastersfelix Posté(e) le 27 mai 2016 Posté(e) le 27 mai 2016 Je te donne un petit coup de pouce Command /set: Trigger: Set {nom de variable} to the player's location Command /tp: Trigger: Téléport player to {nom de ta variable}
LanKeiy Posté(e) le 27 mai 2016 Auteur Posté(e) le 27 mai 2016 Je vous passe le code que j ai deja demain ^^
HardTrox Posté(e) le 30 mai 2016 Posté(e) le 30 mai 2016 Personne ? :'( Passe ton code et on t'aidera mais sans le code on peut pas t'aider :/
LanKeiy Posté(e) le 31 mai 2016 Auteur Posté(e) le 31 mai 2016 Command /test: trigger: open chest with 5 rows named "&9Euro&eUHC" to player wait 1 tick format slot 22 of player with golden apple named "&6UHC" to run [make player execute command "/mv tp UHC"] format slot 29 of player with feather named "&eJump" to run [make player execute command "/JumpTP"] format slot 11 of player with lava bucket named "&eTraining" to run [make player execute command "/mv tp training"] format slot 33 of player with bed named "&eSpawn" to run [make player execute command "/mv spawn"] format slot 15 of player with book named "&eStaff" to run [make player execute command "/TopTP"] On join: message "&aBienvenue sur &9Euro&eUHC" give player a nether star On right click with nether star: make player execute command "/test" command /lobby: trigger: teleport player to location at () message "&cTéléportation au Jump..." command /TopTP: trigger: teleport player to location at (6,64,45) message "Téléportation au Staff..." command /JumpTP: trigger: teleport player to location at (55,72,-5) message "&6Téléportation au &eJump..."
LanKeiy Posté(e) le 3 juin 2016 Auteur Posté(e) le 3 juin 2016 S'il-vous-plait j'en ai vraiment besoin :/
Invité Croissant Posté(e) le 3 juin 2016 Posté(e) le 3 juin 2016 S'il-vous-plait j'en ai vraiment besoin :/ Le plus simple se serait de faire : command /set <text>: permission; skript.set trigger: if arg 1 is not set: send "&c&lVous n'avez pas choisi le lieu" else if arg 1 is set: set {set.%arg 1%} to player's location message "&2Le lieu à été créé en:&a %{set.%arg 1%}%." ça te permet de mettre des coordonnées dans une variable, exemple tu fait /set jump. Par la suite il te suffit de faire tp la personne ayant cliqué sur Jump dans ton menu : command /JumpTP: trigger: teleport player to {set.jump} message "&6Téléportation au &eJump..." Cette commande ne fonctionnera seulement si tu fait un /set jump ;) il te suffit de modifier la variable : {set.ICI} en fonction de tes emplacement ;) Oublie pas de laisser un like si ça t'a aidé ;)
Invité Croissant Posté(e) le 3 juin 2016 Posté(e) le 3 juin 2016 Je vais testé ça de suite :D Alors ?
Adri12 Posté(e) le 3 juin 2016 Posté(e) le 3 juin 2016 Plus simple Command /test: trigger: open chest with 5 rows named "&9Euro&eUHC" to player wait 1 tick format slot 22 of player with golden apple named "&6UHC" to run [make player execute command "/mv-tp-UHC"] format slot 29 of player with feather named "&eJump" to run [make player execute command "/JumpTP"] format slot 11 of player with lava bucket named "&eTraining" to run [make player execute command "/mv tp training"] format slot 33 of player with bed named "&eSpawn" to run [make player execute command "/mv spawn"] format slot 15 of player with book named "&eStaff" to run [make player execute command "/TopTP"] command /mv-tp-UHC: trigger: make console execute command "/tp %player% 55 6 99" #remplace par les bonne coordonée x y z
Invité Croissant Posté(e) le 4 juin 2016 Posté(e) le 4 juin 2016 Plus simple Command /test: trigger: open chest with 5 rows named "&9Euro&eUHC" to player wait 1 tick format slot 22 of player with golden apple named "&6UHC" to run [make player execute command "/mv-tp-UHC"] format slot 29 of player with feather named "&eJump" to run [make player execute command "/JumpTP"] format slot 11 of player with lava bucket named "&eTraining" to run [make player execute command "/mv tp training"] format slot 33 of player with bed named "&eSpawn" to run [make player execute command "/mv spawn"] format slot 15 of player with book named "&eStaff" to run [make player execute command "/TopTP"] command /mv-tp-UHC: trigger: make console execute command "/tp %player% 55 6 99" #remplace par les bonne coordonée x y z Haha ;) je ne sais pas si tu est au courant, mais mvtp est un peu bugger, surtout avec des map custom ;) de plus je pense qu'il serais plus facile de set une variable ça fait un skript plus large, il peux s'il en à l'envie changer le point de spawn etc... ;)
LanKeiy Posté(e) le 4 juin 2016 Auteur Posté(e) le 4 juin 2016 Il y a 9 erreurs :/ avant et après que j'ai fait le /set jump
LanKeiy Posté(e) le 4 juin 2016 Auteur Posté(e) le 4 juin 2016 Celle de @Adri12 marche :D merci à tous ;)
Messages recommandés