Skocz do zawartości
  • 0

Skrypt na autofose


Uzi
 Udostępnij

Pytanie

Witam,
Posiadam taki skrypt:

 

on place:	
	if player's tool is emerald ore of unbreaking 10:
		loop blocks under event-block:
			loop-block is bedrock:
				stop loop
			else:
				set loop-block to air
on script load:
        register new shaped recipe for 4 emerald ore of unbreaking 10 named "&3AutoFosa" with lore "&aUsuwa bloki do bedrocka!" using redstone, redstone, redstone, redstone, diamond, redstone, redstone, redstone, redstone

Chciałbym aby nikt nie mógł użyć tego bloku na spawnie.
 

Odnośnik do komentarza
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
3 minuty temu, MrJuliusz napisał:
on place:
	if "%region at player%" doesn't contain "nazwa_regionu":
      if player's tool is emerald ore of unbreaking 10:
          loop blocks under event-block:
              loop-block is bedrock:
                  stop loop
              else:
                  set loop-block to air

 

Przepraszam, ale występują błędy :(
Jest opcja naprawienia ich

[22:21:56] [Server thread/INFO]: [Skript][m Reloading fosa.sk[m...
[22:21:56] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 6 spaces (fosa.sk, line 3: if player"s tool is emerald ore of unbreaking 10:")
[22:21:56] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 10 spaces (fosa.sk, line 4: loop blocks under event-block:")
[22:21:56] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 14 spaces (fosa.sk, line 5: loop-block is bedrock:")
[22:21:56] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 18 spaces (fosa.sk, line 6: stop loop")
[22:21:56] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 14 spaces (fosa.sk, line 7: else:")
[22:21:56] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 18 spaces (fosa.sk, line 8: set loop-block to air")
[22:21:56] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don"t want this line to start a section. (fosa.sk, line 2: if "%region at player%" doesn"t contain "dobryspawn":")
[22:21:56] [Server thread/INFO]: [Skript][m Encountered 6 errors while reloading fosa.sk[m!
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ę...