Aller au contenu

Soucis avec l'inventaire


Messages recommandés

Posté(e)

Premièrement: Il faut lire les règles avant de poster.

 

Deuxièmement: Il n'y a pas de "player" lors d'un "on death" mais il y a "attacker" et "victim"

 

Troisièmement:

 

Essaye ça (code pas tester):

on death:
   set {helmet.%victim%} to victim's helmet
   set {chestplate.%victim%} to victim's chestplate
   set {leggings.%victim%} to victim's leggings
   set {boots.%victim%} to victim's boots
   give {helmet.%victim%} to attacker
   give {chestplate.%victim%} to attacker
   give {leggings.%victim%} to attacker
   give {boots.%victim%} to attacker
   give victim's inventory to attacker

 

Mais ça aussi devrait fonctionner, et en plus c'est plus court:

 

on death:
   give victim's helmet to attacker
   give victim's chestplate to attacker
   give victim's leggings to attacker
   give victim's boots to attacker
   give victim's inventory to attacker

 

Quatrièmement: De rien ;)

 

Cinquièmement: Il n'y a pas de sixièmement

×
×
  • Créer...

Information importante

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.