Un ami ma envoyer sa le problème c'est que je ne sais pas faire de liste en classant les joueurs du meilleur au moins bon
Voici le bon, forcément c'est pas les bonnes variables:
function tkcomboffa(p: player):
loop {kill.comboffa::*}:
add 1 to {_size}
if {_low.to.high.list::%loop-value%} is not set:
set {_low.to.high.list::%loop-value%} to loop-index
else:
set {_n} to 0
loop {_size} times:
set {_n} to {_n}+1
{_low.to.high.list::%loop-value-1%.%{_n}%} is not set
set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
stop loop
wait 1 tick
set {_n} to size of {_low.to.high.list::*}
loop {_low.to.high.list::*}:
set {_high.to.low.list::%{_n}%} to loop-value
set {_n} to {_n}-1
loop {_high.to.low.list::*}:
add 1 to {_n}
set {_tkhika%{_n}%} to "&e&lTOP %{_n}% &f- &d&l%loop-value% &6&l%{kill.comboffa::%loop-value%}% &7Kills"
if {_n} is 11:
delete holo object "combo"
create holo object ";%{_tkhika1}%;%{_tkhika2}%;%{_tkhika3}%;%{_tkhika4}%;%{_tkhika5}%;%{_tkhika6}%;%{_tkhika7}%;%{_tkhika8}%;%{_tkhika9}%;%{_tkhika10}%; ;&2Actualisation au clique droit !" with id "combo" at {combotk}
stop
stop