- En iyi cevaplar
- 0
Selamlar,gui destekli bir stats skript'i yaptım;ölüm,öldürme ve kda gösteriliyor.
İşinize yaraması dileğiyle.
ÇALIŞMASI İÇİN GEREKLİ ADDON;
Tuske
Skript görselleri;
Skript kodu;
İşinize yaraması dileğiyle.
ÇALIŞMASI İÇİN GEREKLİ ADDON;
Tuske
Skript görselleri;
Skript kodu;
Kod:
command /stats [<offline player>]:
trigger:
if arg-1 is set:
set {_kda} to {kills::%arg-1%} / {olum::%arg-1%}
open virtual chest with 1 rows named "&c&l %arg-1% &7-> &c&lBilgi" to player
format a gui slot 2 of player with Book named "&e&lÖldürmeleri;" with lore "&3&l%{kills::%arg-1%}%" to nothing
format a gui slot 4 of player with Book named "&e&lÖlmeleri;" with lore "&3&l%{olum::%arg-1%}%" to nothing
format a gui slot 6 of player with Book named "&e&lKDA;" with lore "&3&l%{_kda}%" to nothing
if arg-1 is not set:
set {_kda} to {kills::%player%} / {olum::%player%}
open virtual chest with 1 rows named "&c&l %player% &7-> &c&lBilgi" to player
format a gui slot 2 of player with Book named "&e&lÖldürmelerin;" with lore "&3&l%{kills::%player%}%" to nothing
format a gui slot 4 of player with Book named "&e&lÖlümlerin;" with lore "&3&l%{olum::%player%}%" to nothing
format a gui slot 6 of player with Book named "&e&lKDA;" with lore "&3&l%{_kda}%" to nothing
on login:
if {kills::%player%} is not set:
set {kills::%player%} to 0
if {olum::%player%} is not set:
set {olum::%player%} to 0
on death:
victim is a player:
attacker is a player:
add 1 to {kills::%attacker%}
add 1 to {olum::%victim%}
Kullanım;
/stats <isim> : Başkasının stats'ını görmek için.
/stats Kendi statsınızı görmek için.
/stats Kendi statsınızı görmek için.
Yorumlarınızı bekliyorum