Skocz do zawartości
  • 0

Skrypt na przystanki autobusowe - nie działa


kondziu2k
 Udostępnij

Pytanie

Wersja Minecraft 1.12

Plugin Skript: Najnowszy!

KOD:

options:

    przystanek: przystanek
    permisja: przystanek.dodaj
    wiadomosc: &4Nie masz permisji do tej komendy!
    item: paper

on region enter:
    player is in the region {{@przystanek}}
    player is not sneaking:
        message "&aProszę ukucnąć, aby wybrać przystanek"
    else:
        open chest with 4 rows named "Przystanki" to player
        wait 4 ticks
        set {slot.y} to 0
        loop 36 times:
            format slot {slot.y} of player with {przystanki.%{slot.y}%} to close
            add 1 to {slot.y}

command /dodajprzystanek [<int>] [<text>]:
    permission: {@permisja}
    permission message: {@wiadomosc}
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                add {@item} named "&aPrzystanek godzina &6%arg-1% &ado &6%arg-2%" to {przystanki.%{sloty.y}%}
                add 1 to {sloty.y}
                message "&aDodano przystanek &ado%arg-2% na godzine %arg-1%"

 

Wyskakuje błąd: can't understand this event: 'on region enter'

I czemu mi niektóre skrypty nie działają jak np komenda /pomoc

Nie wyskakują żadne błędy ani nic!

 

//Edytuję nazwę, staraj się wyłączać CapsLock'a i nadawać odpowiednie nazwy do problemów @JPablo

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

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

  • 0

Robisz region, i zmieniasz wszystkie <none> na warpy :>

on sneak toggle:
	if player is in region "przystanek":
		open chest with 2 rows named "           &8&l>> &c&lAutobus &8&l<<" to player
		wait 5 ticks
		format slot 0 of player with 1 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 1 of player with 2 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 2 of player with 3 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 3 of player with 4 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 4 of player with 5 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 5 of player with 6 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 6 of player with 7 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 7 of player with 8 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 8 of player with 9 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 9 of player with 10 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 10 of player with 11 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 11 of player with 12 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 12 of player with 13 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 13 of player with 14 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 14 of player with 15 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 15 of player with 16 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 16 of player with 17 paper named "<none>" to close then run [make player execute "warp none"]
		format slot 17 of player with 18 paper named "<none>" to close then run [make player execute "warp none"]

 

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

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

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