Skocz do zawartości
  • 0

RZUCANE TNT


jogurcik122pl

Pytanie

17 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
4 minuty temu, jogurcik122pl napisał:

named "&4&lRZUCANE TNT" with lore "&7Kliknij PPM aby wystrzelic TNT"

on region entry:
	If "%region%" contain "nazwa":
		on place of tnt: 
			if player's tools is tnt named "&4&lRZUCANE TNT" with lore "&7Kliknij PPM aby wystrzelic TNT":
			cancel event
on region entry:
	If "%region%" contain "nazwa":
		on rightclick of tnt:
			if player's tools is tnt named "&4&lRZUCANE TNT" with lore "&7Kliknij PPM aby wystrzelic TNT" 
			cancel event

w nazwa wpisz nazwe regionu

jak cos to pisz

Odnośnik do komentarza
https://skript.pl/temat/39188-rzucane-tnt/#findComment-246240
Udostępnij na innych stronach

  • 0

flags: {enderpearl: deny, creeper-explosion: deny, use: allow, tnt: deny,
            chest-access: allow, entity-item-frame-destroy: deny}

 

ok już sprawdzam czy działa

 

 

a jak dodać parę regionów to dopisać w taki sposób ?

	If "%region%" contain "nazwa" or "nazwa" or "nazwa":
xAxee

Łączę posty

Notatka dodana przez xAxee

Odnośnik do komentarza
https://skript.pl/temat/39188-rzucane-tnt/#findComment-246241
Udostępnij na innych stronach

  • 0

 
[23:04:22 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. (swiat.sk, line 82: if player's tools is tnt named "&4&lRZUCANE TNT" with lore "&7Kliknij PPM aby wystrzelic TNT":')
[23:04:22 ERROR]: can't understand this event: 'on region entry' (swiat.sk, line 79: on region entry:')
[23:04:22 ERROR]: can't understand this event: 'on region entry' (swiat.sk, line 84: on region entry:')
[23:04:22 INFO]: [Skript] Encountered 2 errors while reloading swiat.sk!
Odnośnik do komentarza
https://skript.pl/temat/39188-rzucane-tnt/#findComment-246245
Udostępnij na innych stronach

  • 0
3 godziny temu, jogurcik122pl napisał:


 
[23:04:22 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. (swiat.sk, line 82: if player's tools is tnt named "&4&lRZUCANE TNT" with lore "&7Kliknij PPM aby wystrzelic TNT":')
[23:04:22 ERROR]: can't understand this event: 'on region entry' (swiat.sk, line 79: on region entry:')
[23:04:22 ERROR]: can't understand this event: 'on region entry' (swiat.sk, line 84: on region entry:')
[23:04:22 INFO]: [Skript] Encountered 2 errors while reloading swiat.sk!
on entering of region:
	If "%region%" contain "nazwa":
		on place of tnt: 
			if player's tools is tnt named "&4&lRZUCANE TNT" with lore "&7Kliknij PPM aby wystrzelic TNT":
				cancel event
on entering of region:
	If "%region%" contain "nazwa":
		on rightclick of tnt:
			if player's tools is tnt named "&4&lRZUCANE TNT" with lore "&7Kliknij PPM aby wystrzelic TNT" 
              	cancel event
Edytowane przez jndooo
Odnośnik do komentarza
https://skript.pl/temat/39188-rzucane-tnt/#findComment-246253
Udostępnij na innych stronach

  • 0

 
[02:47:02 ERROR]: indentation error: expected 3 tabs, but found 4 tabs (swiat.sk, line 88: cancel event')
[02:47:02 ERROR]: 'on place' is not a number (swiat.sk, line 81: on place of tnt:')
[02:47:02 ERROR]: 'on rightclick' is not a number (swiat.sk, line 86: on rightclick of tnt:')
Edytowane przez jogurcik122pl
Odnośnik do komentarza
https://skript.pl/temat/39188-rzucane-tnt/#findComment-246254
Udostępnij na innych stronach

  • 0
5 minut temu, jogurcik122pl napisał:


 
[02:38:42 ERROR]: can't understand this event: 'on region entry' (swiat.sk, line 79: on region entry:')
[02:38:42 ERROR]: can't understand this event: 'on region entry' (swiat.sk, line 84: on region entry:')
[02:38:42 INFO]: [Skript] Encountered 2 errors while reloading swiat.sk!
 
 
Dalej to samo :/
on region enter:
Odnośnik do komentarza
https://skript.pl/temat/39188-rzucane-tnt/#findComment-246255
Udostępnij na innych stronach

  • 0

 
[02:50:01 ERROR]: indentation error: expected 3 tabs, but found 4 tabs (swiat.sk, line 88: cancel event')
[02:50:01 ERROR]: 'on place' is not a number (swiat.sk, line 81: on place of tnt:')
[02:50:01 ERROR]: 'on rightclick' is not a number (swiat.sk, line 86: on rightclick of tnt:')
 
Odnośnik do komentarza
https://skript.pl/temat/39188-rzucane-tnt/#findComment-246256
Udostępnij na innych stronach

  • 0
19 minut temu, jogurcik122pl napisał:


 
[02:50:01 ERROR]: indentation error: expected 3 tabs, but found 4 tabs (swiat.sk, line 88: cancel event')
[02:50:01 ERROR]: 'on place' is not a number (swiat.sk, line 81: on place of tnt:')
[02:50:01 ERROR]: 'on rightclick' is not a number (swiat.sk, line 86: on rightclick of tnt:')
 

 

on region enter:
	If "%region%" contain "nazwa":
		on place:
			if player's holding tnt: 
				if player's tools is tnt named "&4&lRZUCANE TNT" with lore "&7Kliknij PPM aby wystrzelic TNT":
					cancel event
on region enter:
	If "%region%" contain "nazwa":
		on rightclick:
			if player's holding tnt:
				if player's tools is tnt named "&4&lRZUCANE TNT" with lore "&7Kliknij PPM aby wystrzelic TNT" 
              		cancel event

 

Odnośnik do komentarza
https://skript.pl/temat/39188-rzucane-tnt/#findComment-246258
Udostępnij na innych stronach

  • 0

 
[14:08:29 ERROR]: indentation error: expected 4 tabs, but found '______________->->' [-> = tab, _ = space, ? = other whitespace] (swiat.sk, line 89: cancel event')
[14:08:29 ERROR]: 'on place' is not a boolean (yes/no) (swiat.sk, line 80: on place:')
[14:08:29 ERROR]: 'on rightclick' is not a boolean (yes/no) (swiat.sk, line 86: on rightclick:')

 

Co z tym ?

Edytowane przez xAxee
xAxee

Łączę posty, wstawiam w code

Notatka dodana przez xAxee

Odnośnik do komentarza
https://skript.pl/temat/39188-rzucane-tnt/#findComment-246286
Udostępnij na innych stronach

  • 0
on right click:
	if "%region at player%" contain "spawn":
		if name of player's tool is "&4&lRZUCANE TNT":
			cancel event
14 godzin temu, jndooo napisał:

jakie dodatki masz i wgl? też nie mam jak to zbytnio testować bo nie mam serwer teraz więc pisze na sucho

Jak ty chcesz wywoływać event w evencie

Odnośnik do komentarza
https://skript.pl/temat/39188-rzucane-tnt/#findComment-246372
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

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

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