VeTr0x Posté(e) le 23 avril 2016 Posté(e) le 23 avril 2016 Bonjour, command /menunoble: trigger: wait 1 tick open chest with 1 row named "&6Validation ou Non" to player format slot 31 of player with emerald named "&6[&eValidation&6]" to run [make player execute command "/rankup"] format slot 20 of player with anvil named "&6[&cRefus&6]" to run 'cancel event' Help le cancel event ne marche pas
0 Adri12 Posté(e) le 23 avril 2016 Posté(e) le 23 avril 2016 deja une GROSSE erreur : "Format slot 31" et "format slot 20" ne peuvent exister dans ton skript car ton "chest" a une seul ligne (9cases) soit 8 slot command /menunoble: trigger: wait 1 tick open chest with 1 row named "&6Validation ou Non" to player format slot 0 of player with emerald named "&6[&eValidation&6]" to run [make player execute command "/rankup"] format slot 1 of player with anvil named "&6[&cRefus&6]" to run 'cancel event'
0 Ael-Divarvel Posté(e) le 23 avril 2016 Posté(e) le 23 avril 2016 Tu veut cancel quel event ? Tu n'est pas dans un Événement mais dans un Trigger, seul les events peuvent être annulés, du genre "on move" ou "on quelque chose". L’expression que tu cherche pour fermer l'inventaire fictif c'est format slot 1 of player with anvil named "&6[&cRefus&6]" to close
0 VeTr0x Posté(e) le 23 avril 2016 Auteur Posté(e) le 23 avril 2016 Merci à Ael-Divarvel et non à Adr12 qui m'a critiquer et non aidé.
0 Ael-Divarvel Posté(e) le 23 avril 2016 Posté(e) le 23 avril 2016 Ah non, pas de bagarre avec mon pseudo au milieu svp :)
Question
VeTr0x
Bonjour,
command /menunoble:
trigger:
wait 1 tick
open chest with 1 row named "&6Validation ou Non" to player
format slot 31 of player with emerald named "&6[&eValidation&6]" to run [make player execute command "/rankup"]
format slot 20 of player with anvil named "&6[&cRefus&6]" to run 'cancel event'
Help le cancel event ne marche pas
4 réponses à cette question
Messages recommandés