Yop! J'essaye de faire une tablist jolie, mais elle marche pas... :
options:
tabHeader: "%{message.tablist}%"
tabFooter: "&7&oEn ligne: &d%amount of players%&7/&5%max players%"
refreshLog: "[TabList] Raffraichissement des tabLists terminé avec succès."
refreshNotif: "&7[&b&lTabList&r&7] &bRaffraichissement des tabLists terminé avec succès."
on Skript Start:
execute console command "tablist refresh"
on Join:
execute console command "tablist refresh"
on Quit:
execute console command "tablist refresh"
command /tablist refresh:
executable by: console and players
trigger:
loop all players:
set tab header to {@tabHeader} and footer to {@tabFooter} for loop-player
wait 1 tick
log {@refreshLog}
if command sender is not console:
message {@refreshNotif} to the command sender
every second:
if {temps.tablist} is not set:
set {temps.tablist} to 0
if {temps.tablist} is 0:
delete {message.tablist}
set {message.tablist} to &9&lHard'MC
add 1 to {temps.tablist}
if {temps.tablist} is 1:
delete {message.tablist}
set {message.tablist} to &3&lHard'MC
add 1 to {temps.tablist}
if {temps.tablist} is 2:
delete {message.tablist}
set {message.tablist} to &b&lHard'MC
add 1 to {temps.tablist}
if {temps.tablist} is 3:
delete {message.tablist}
set {message.tablist} to &3Hard'MC
add 1 to {temps.tablist}
if {temps.tablist} is 4:
delete {temps.tablist}
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
MrDragonn
Yop! J'essaye de faire une tablist jolie, mais elle marche pas... :
Erreur:
Merci de votre aide :)
Cordialement Dragonn
6 réponses à cette question
Messages recommandés