Skocz do zawartości
  • 0

Problem ze startem rozgrywki


Remikxdxd

Pytanie

Mam taki skrypt i jest problem z rozpoczynaniem rozgrywki.

Skrypt: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

Chodzi o to, że loopuje tylko 1 wybraną osobę i tepa do druzyny nie wszystkich probowalem loop-players, loop-player, różnie.

Caly skrypt: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

 

 

Odnośnik do komentarza
Udostępnij na innych stronach

Rekomendowane odpowiedzi

  • 0

Problem jest dalej to znaczy dodaje dryzyne jak jestem w 2 to daje prefix itp ale nie tepa, tepa tylko 1 osobe ktora jest w innej druzynie

@edit jak np. 2 osoby w 1 drużynie są to ich 2 teleportuje, ale jak już mówilem jak 2 osoby są o osobnych drużynach to wtedy tylko 1 tepa :c

Edytowane przez Remikxdxd
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Znowu pomimo usunięcia stopu tepa jedną osobę :c a drugą nie nawet gry w tej samej drużynie są te dwie osoby tp jedną :C

Skrypt: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

Caly skrypt: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

 if {team-1.%loop-player%} is true:                                        teleport loop-player to {team1.pos}                                        send "{@logo}&7Znajdujesz sie w &a[Team 1] &7!" to loop-player                                        wait 20 minutes                                        teleport loop-player to {team1.pos3}                                if {team-2.%loop-player%} is true:                                        teleport loop-player to {team2.pos}                                        send "{@logo}&7Znajdujesz sie w &b[Team 2] &7!" to loop-player                                        wait 20 minutes                                        teleport loop-player to {team2.pos3}                                if {team-3.%loop-player%} is true:                                        teleport loop-player to {team3.pos}                                        send "{@logo}&7Znajdujesz sie w &c[Team 3] &7!" to loop-player                                        wait 20 minutes                                        teleport loop-player to {team3.pos3}                                if {team-4.%loop-player%} is true:                                        teleport loop-player to {team4.pos}                                        send "{@logo}&7Znajdujesz sie w &e[Team 4] &7!" to loop-player                                        wait 20 minutes                                        teleport loop-player to {team4.pos3}                                if {team-1.%loop-player%} or {team-2.%loop-player%} or {team-3.%loop-player%} or {team-4.%loop-player%} is false:                                        chance of 25%:                                                set {_1} to "%name of loop-player%"                                                set {team-1.%loop-player%} to true                                                set the loop-player's tablist name to "&a%name of loop-player%"                                                teleport loop-player to {team1.pos}                                                send "{@logo}&7Znajdujesz sie w &a[Team 1] &7!" to loop-player                                                wait 20 minutes                                                teleport loop-player to {team1.pos3}                                        chance of 25%:                                                set {_2} to "%name of loop-player%"                                                set {team-2.%loop-player%} to true                                                set the loop-player's tablist name to "&b%name of loop-player%"                                                teleport loop-player to {team2.pos}                                                send "{@logo}&7Znajdujesz sie w &b[Team 2] &7!" to loop-player                                                wait 20 minutes                                                teleport loop-player to {team2.pos3}                                            chance of 25%:                                                set {_3} to "%name of loop-player%"                                                set {team-3.%loop-players%} to true                                                set the loop-player's tablist name to "&c%name of loop-player%"                                                teleport loop-player to {team3.pos}                                                send "{@logo}&7Znajdujesz sie w &c[Team 3] &7!" to loop-player                                                wait 20 minutes                                                teleport loop-player to {team3.pos3} 

Te  kod ma to do siebie, że po sprawdzeniu pierwszym czeka 20 minut i dopiero następuje drugie sprawdzanie. Musiałbyś go rozbić. i zamiast:

 

                                if {team-1.%loop-player%} is true:                                        teleport loop-player to {team1.pos}                                        send "{@logo}&7Znajdujesz sie w &a[Team 1] &7!" to loop-player                                        wait 20 minutes                                        teleport loop-player to {team1.pos3}                                if {team-2.%loop-player%} is true:                                        teleport loop-player to {team2.pos}                                        send "{@logo}&7Znajdujesz sie w &b[Team 2] &7!" to loop-player                                        wait 20 minutes                                        teleport loop-player to {team2.pos3}                                if {team-3.%loop-player%} is true:                                        teleport loop-player to {team3.pos}                                        send "{@logo}&7Znajdujesz sie w &c[Team 3] 

 

dać:

 

                                if {team-1.%loop-player%} is true:                                        teleport loop-player to {team1.pos}                                        send "{@logo}&7Znajdujesz sie w &a[Team 1] &7!" to loop-player                                if {team-2.%loop-player%} is true:                                        teleport loop-player to {team2.pos}                                        send "{@logo}&7Znajdujesz sie w &b[Team 2] &7!" to loop-player                                if {team-3.%loop-player%} is true:                                        teleport loop-player to {team3.pos}                                        send "{@logo}&7Znajdujesz sie w &c[Team 3]                                wait 20 minutes                                {team-2.%loop-player%} is true:                                        teleport loop-player to {team1.pos3}                                {team-.%loop-player%} is true:                                        teleport loop-player to {team2.pos3}                                {team-3.%loop-player%} is true:                                        teleport loop-player to {team3.pos3} 

 
Oczywiście ja dałem przykład; nie mam czasu całego kodu tak zrobić(pamiętaj, że wszystko musisz dać przed "wait 20 minutes", bo inaczej kod sam w sobie ma kilka godzin roboty ;P
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Odliczanie trwa jakies 2 sekundy nwm czemu a dziala nadal żle, tepa tylko jedną osobę i pisze jej Znajdujesz się w (np.)[Team 4] i team drugiej osoby której nie tepa ani nie wysyła wiadomości czyli jeśli ta druga osoba jest w np. team 2 pisze tej piewszej pod spodem Znajdujesz się w [Team 2] zaraz pod Znajdujesz się w [Team 4]

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...