d /start shop:
permission: op
trigger:
set {2} to 2
set {4} to 4
set {8} to 8
set {16} to 16
set {34} to 34
set {48} to 48
set {56} to 56
set {64} to 64
command /diamond2:
permission: op
trigger:
set {_75} to 75
set {_*2} to ({2}*{_75})
set {_*4} to ({4}*{_75})
set {_*8} to ({8}*{_75})
set {_*16} to ({16}*{_75})
set {_*34} to ({32}*{_75})
set {_*48} to ({48}*{_75})
set {_*56} to ({56}*{_75})
set {_*64} to ({64}*{_75})
wait 1 ticks
open chest with 1 rows named "&bDiamant &7: &e&lvente" to player
wait 1 tick
format slot 0 of player with a diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &81 || &8&lPrix de vente &7: &8%{_75}%$ " to run [run player command "sell1diamond" as op]
wait 1 ticks
format slot 1 of player with 2 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &82 || &8&lPrix de vente &7: &8%{_*2}%$ " to run [run player command "sell2diamond" as op]
wait 1 ticks
format slot 2 of player with 4 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &84 || &8&lPrix de vente &7: &8%{_*4}%$ " to run [run player command "sell4diamond" as op]
wait 1 ticks
format slot 3 of player with 8 diamond named "&bDiamant &7: &e&8lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &88 || &8&lPrix de vente &7: &8%{_*8}%$ " to run [run player command "sell8diamond" as op]
wait 1 ticks
format slot 4 of player with 16 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &816 || &8&lPrix de vente &7: &8%{_*16}%$ " to run [run player command "sell16diamond" as op]
wait 1 ticks
format slot 5 of player with 34 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &834 || &8&lPrix de vente &7: &8%{_*34}%$ " to run [run player command "sell34diamond" as op]
wait 1 ticks
format slot 6 of player with 48 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &848 || &8&lPrix de vente &7: &8%{_*48}%$ " to run [run player command "sell48diamond" as op]
wait 1 ticks
format slot 7 of player with 56 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &856 || &8&lPrix de vente &7: &8%{_*56}%$ " to run [run player command "sell56diamond" as op]
wait 1 ticks
format slot 8 of player with 64 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &864 || &8&lPrix de vente &7: &8%{_*64}%$ " to run [run player command "sell64diamond" as op]
Bonjour je cherche l'erreur dans mon code ca serait compliquer de vous expliquer donc je vous donne la partie du code
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
nathan
Bonjour je cherche l'erreur dans mon code ca serait compliquer de vous expliquer donc je vous donne la partie du code
10 réponses à cette question
Messages recommandés