on load: broadcast "Automatyczne eventy by Milutus zaladowane poprawnie"every 1 second: loop all players: if {online} is more than 2: if {event.rozpoczety} is false: if {czas.start} is false: set {event.rozpoczety} to true broadcast "Automatyczny event rozpoczety" wait 2 second broadcast "Otwieram wejscie" loop all blocks in the region "wejscie": set loop-blocks to air wait 2 seconds broadcast "zamykam wejscie" loop all blocks in the region "wejscie": set loop-blocks to glass broadcast "licze graczy" wait 2 seconds loop all players: if "%regions at player%" contains "event": add player to {gracze.event::*} set {gracze.event.sk} to size of {gracze.event::*} broadcast "Liczba graczy to %{gracze.event.sk}%"every 1 tick: if {event.rozpoczety} is true: loop all players: if loop-player is in region "event": add 1 to {gracze.event.s} if {gracze.event.s} is smaller than 2: set {pozwolenie} to 10 set {event.rozpoczety} to false broadcast "event wygral %loop-player%"every 60 seconds: if {pozwolenie} is more than 0: remove 1 from {pozwolenie} elsE: set {czas.start} to falsecommand /testeventy1: trigger: set {czas.start} to false set {event.rozpoczety} to false
Nie działa mi pokazywanie ilości graczy na regionie .
Pytanie
MilutuS 2
on load: broadcast "Automatyczne eventy by Milutus zaladowane poprawnie"every 1 second: loop all players: if {online} is more than 2: if {event.rozpoczety} is false: if {czas.start} is false: set {event.rozpoczety} to true broadcast "Automatyczny event rozpoczety" wait 2 second broadcast "Otwieram wejscie" loop all blocks in the region "wejscie": set loop-blocks to air wait 2 seconds broadcast "zamykam wejscie" loop all blocks in the region "wejscie": set loop-blocks to glass broadcast "licze graczy" wait 2 seconds loop all players: if "%regions at player%" contains "event": add player to {gracze.event::*} set {gracze.event.sk} to size of {gracze.event::*} broadcast "Liczba graczy to %{gracze.event.sk}%"every 1 tick: if {event.rozpoczety} is true: loop all players: if loop-player is in region "event": add 1 to {gracze.event.s} if {gracze.event.s} is smaller than 2: set {pozwolenie} to 10 set {event.rozpoczety} to false broadcast "event wygral %loop-player%"every 60 seconds: if {pozwolenie} is more than 0: remove 1 from {pozwolenie} elsE: set {czas.start} to falsecommand /testeventy1: trigger: set {czas.start} to false set {event.rozpoczety} to falseNie działa mi pokazywanie ilości graczy na regionie .
Czy możecie pomóc ?
Odnośnik do komentarza
https://skript.pl/temat/9508-problem-z-loop-na-regionie/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi