Bonjour ,
je suis en train de creer un skript mais je ne sais pas pourquoi quand je veux cliquer sur 'épée " chevalier" la nav se ferme sans ouvrir la prochaine page
mon skript ==>
options:
logo: &7[&bNavigation&7]
command /navigations [<text>]:
aliases: /navigation, /nav
trigger:
if arg isn't set:
open chest with 6 rows named "&bNavigation" to player
wait 3 ticks
format slot 0 of player with skull of player named "&c%player%" to be unstealable
format slot 22 of player with emerald named "&eBoutique" to close then run [make player execute command "/nav boutique"]
format slot 53 of player with arrow named "&4Fermer" to close
else:
if arg is "boutique":
wait 5 ticks
open chest with 6 rows named "&bBoutique" to player
wait 3 ticks
format slot 22 of player with diamond sword named "&aPvP/Faction" to close then run [make player execute command "/nav bfaction"]
format slot 53 of player with arrow named "&4Retour &7(Menu principal)" to close then run [make player execute command "/nav"]
if arg is "bfaction":
wait 5 ticks
open chest with 1 rows named "&bBoutique &f- &bRGFaction" to player
wait 3 ticks
format slot 2 of player with gold sword named "&7Chevalier" to close then run [make player execute command "/nav chevalier"]
format slot 3 of player with stone sword named "&7Prince" to be unstealable
format slot 5 of player with iron sword named "&7Roi" to be unstealable
format slot 6 of player with diamond sword named "&7Dieu" to be unstealable
format slot 8 of player with arrow named "&4Retour &7(Menu boutique)" to close then run [make player execute command "/nav boutique"]
if arg is "chevalier":
wait 5 ticks
open chest with 2 rows named "&bBoutique &f- &bRGFaction &f - &7Chevalier"
wait 3 ticks
format slot 3 of player with slimeball named "&2acheter avec la money du serveur" to close then run [make player execute command "/nav boutique bchevaliermoneyserveur"]
format slot 5 of player with redstone named "&2acheter avec de l'argent IRL" to close then run [make player execute command "/nav boutique bchevaliermoneyirl"]
format slot 8 of player whith arrow named"&4Fermer" to close
if arg is "bchevaliermoneyserveur"
wait 2 ticks
open chest with 1 rows named "&bPayement Grade Chevalier 50 000$ " to close then run [make player execute command "/pay getwox 50 000]
format slot 8 of player whith arrow named"&4Fermer" to close
if this player can pay getwox
[/manuadd %player% chevalier
merci
je suis en train de creer un skript mais je ne sais pas pourquoi quand je veux cliquer sur 'épée " chevalier" la nav se ferme sans ouvrir la prochaine page
mon skript ==>
options:
logo: &7[&bNavigation&7]
command /navigations [<text>]:
aliases: /navigation, /nav
trigger:
if arg isn't set:
open chest with 6 rows named "&bNavigation" to player
wait 3 ticks
format slot 0 of player with skull of player named "&c%player%" to be unstealable
format slot 22 of player with emerald named "&eBoutique" to close then run [make player execute command "/nav boutique"]
format slot 53 of player with arrow named "&4Fermer" to close
else:
if arg is "boutique":
wait 5 ticks
open chest with 6 rows named "&bBoutique" to player
wait 3 ticks
format slot 22 of player with diamond sword named "&aPvP/Faction" to close then run [make player execute command "/nav bfaction"]
format slot 53 of player with arrow named "&4Retour &7(Menu principal)" to close then run [make player execute command "/nav"]
if arg is "bfaction":
wait 5 ticks
open chest with 1 rows named "&bBoutique &f- &bRGFaction" to player
wait 3 ticks
format slot 2 of player with gold sword named "&7Chevalier" to close then run [make player execute command "/nav chevalier"]
format slot 3 of player with stone sword named "&7Prince" to be unstealable
format slot 5 of player with iron sword named "&7Roi" to be unstealable
format slot 6 of player with diamond sword named "&7Dieu" to be unstealable
format slot 8 of player with arrow named "&4Retour &7(Menu boutique)" to close then run [make player execute command "/nav boutique"]
if arg is "chevalier":
wait 5 ticks
open chest with 2 rows named "&bBoutique &f- &bRGFaction &f - &7Chevalier"
wait 3 ticks
format slot 3 of player with slimeball named "&2acheter avec la money du serveur" to close then run [make player execute command "/nav boutique bchevaliermoneyserveur"]
format slot 5 of player with redstone named "&2acheter avec de l'argent IRL" to close then run [make player execute command "/nav boutique bchevaliermoneyirl"]
format slot 8 of player whith arrow named"&4Fermer" to close
if arg is "bchevaliermoneyserveur"
wait 2 ticks
open chest with 1 rows named "&bPayement Grade Chevalier 50 000$ " to close then run [make player execute command "/pay getwox 50 000]
format slot 8 of player whith arrow named"&4Fermer" to close
if this player can pay getwox
[/manuadd %player% chevalier
merci
Fichiers joints
Dernière édition: