Quand j'appuis sur le panneau "restaure" je reçois "Reçu" mais pas mon stuff...
if line 3 is "1":
loop 36 times:
set {Kit.%player%.%line 3%.%{_slot}%} to slot {_slot} of player's inventory
add 1 to {_slot}
set {helmet.%player%.%line 3%} to helmet of player
set {chestplate.%player%.%line 3%} to chestplate of player
set {leggings.%player%.%line 3%} to leggings of player
set {boots.%player%.%line 3%} to boots of player
send "&aVous venez de sauvegarder le kit 1"
#
if line 2 is "&aRestaure":
# Copier pour autre panneau restaure mais modifier le "1 "
if line 3 is "1":
wait 0.5 tick
set helmet of player to {helmet.%player%.%line 3%}
wait 0.5 tick
set chestplate of player to {chestplate.%player%.%line 3%}
wait 0.5 tick
set leggings of player to {leggings.%player%.%line 3%}
wait 0.5 tick
set boots of player to {boots.%player%.%line 3%}
wait 0.5 tick
set {_slot} to 0
loop 36 times:
wait 0.5 tick
set slot {_slot} of player's inventory to {Kit.%player%.%line 3%.%{_slot}%}
add 1 to {_slot}
send "&aReçu !"
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
Valas
Bonjour, j'ai un problème.
Quand j'appuis sur le panneau "restaure" je reçois "Reçu" mais pas mon stuff...
if line 3 is "1": loop 36 times: set {Kit.%player%.%line 3%.%{_slot}%} to slot {_slot} of player's inventory add 1 to {_slot} set {helmet.%player%.%line 3%} to helmet of player set {chestplate.%player%.%line 3%} to chestplate of player set {leggings.%player%.%line 3%} to leggings of player set {boots.%player%.%line 3%} to boots of player send "&aVous venez de sauvegarder le kit 1" # if line 2 is "&aRestaure": # Copier pour autre panneau restaure mais modifier le "1 " if line 3 is "1": wait 0.5 tick set helmet of player to {helmet.%player%.%line 3%} wait 0.5 tick set chestplate of player to {chestplate.%player%.%line 3%} wait 0.5 tick set leggings of player to {leggings.%player%.%line 3%} wait 0.5 tick set boots of player to {boots.%player%.%line 3%} wait 0.5 tick set {_slot} to 0 loop 36 times: wait 0.5 tick set slot {_slot} of player's inventory to {Kit.%player%.%line 3%.%{_slot}%} add 1 to {_slot} send "&aReçu !"6 réponses à cette question
Messages recommandés