Hej! W jaki sposób można refreshować co sekundę lore konkretnego itemu w gui? Próbowałem coś takiego:
on inventory open:
while inventory name of current inventory of player is "Test":
set {_sek} to placeholder "moj_placeholder"
loop all items in player's inventory:
if loop-item is stick:
set lore of loop-item to "&6%{_sek}% sek"
wait 1 second
set lore of loop-item to "&6%{_sek}% sek"
wait 1 second
Ale sekundy pozostają takie same w momencie w którym otworzyło się gui. A chodzi o to żeby te sekundy odświeżały się na bieżąco.
Pytanie
Talarek 8
Hej! W jaki sposób można refreshować co sekundę lore konkretnego itemu w gui? Próbowałem coś takiego:
on inventory open: while inventory name of current inventory of player is "Test": set {_sek} to placeholder "moj_placeholder" loop all items in player's inventory: if loop-item is stick: set lore of loop-item to "&6%{_sek}% sek" wait 1 second set lore of loop-item to "&6%{_sek}% sek" wait 1 second
Ale sekundy pozostają takie same w momencie w którym otworzyło się gui. A chodzi o to żeby te sekundy odświeżały się na bieżąco.
Odnośnik do komentarza
Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi