on any move:
if difference between {SideBarCzas::%player%::lastuse} and now is smaller than 10 seconds:
stop
set {SideBarCzas::%player%::lastuse} to now
if player is in world "Lol":
wipe player sidebar
set name of sidebar of player to "&f&l&k|&b&lSky Store&f&l&k|"
set score "&3Liczba Dusz: &7%{DuszeHUB1::%player%}%" in sidebar of player to 8
Działa tak lecz jak jest 2 graczy to sumuje to i daje cały wynik czyli ja mam 10 i gracz 10 to daje liczbę 20 i tak skacze 10 a 20
Pytanie
AfterProYT 7
on any move:
if difference between {SideBarCzas::%player%::lastuse} and now is smaller than 10 seconds:
stop
set {SideBarCzas::%player%::lastuse} to now
if player is in world "Lol":
wipe player sidebar
set name of sidebar of player to "&f&l&k|&b&lSky Store&f&l&k|"
set score "&3Liczba Dusz: &7%{DuszeHUB1::%player%}%" in sidebar of player to 8
Działa tak lecz jak jest 2 graczy to sumuje to i daje cały wynik czyli ja mam 10 i gracz 10 to daje liczbę 20 i tak skacze 10 a 20
Odnośnik do komentarza
https://skript.pl/temat/13053-zmienna-sumuje-si%C4%99-z-ilo%C5%9Bci%C4%85-graczy/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi