Enfaite je veux que quand le mec soit tp au spawn sa lui donne des items à des slots précis, ducoup j'ai creer une commande pour les items que voici:
command /items:
trigger:
teleport player to {spawn}
clear player's inventory
execute console command "/effect %player% clear"
wait 2 ticks
give iron sword named "&9Unranked" to slot 3 of player
give diamond sword named "&3Ranked" to slot 5 of player
give paper named "&eInfos" to slot 0 of player
give book named "&bCreateParty" to slot 8 of player
give red wool named "&cQuitterQueue" to slot 4 of player
on rightclick with iron sword:
name of tool is "&9Unranked"
make player execute command "/unranked"
on rightclick with paper:
name of tool is "&eInfos"
make player execute command "/infos"
on rightclick with diamond sword:
name of tool is "&3Ranked"
make player execute command "/ranked"
on rightclick with book:
name of tool is "&bCreateParty"
make player execute command "/party create"
on rightclick with red wool:
name of tool is "&cQuitterQueue"
make player execute command "/battle leave"
Mais quand les 2 joueurs ont finis leur 1vs1 ils ont les items mais pas dans les bons slots (sont tous tassés dans les slots du début 1,2,3,4 ...) donc j'aimerai savoir comment faire pour qu'ils recoivent leurs items dans les bons slots apres leur match