Skocz do zawartości
  • 0

Nie działaja itemy w gui


Pytanie

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

To jest zbugowane, będzie wyświetlać 2131/64 jeżeli w ogóle zadziała.
Użyj pluginu:

Edytowane przez Nieaktywny
Odnośnik do komentarza
https://skript.pl/temat/12372-nie-dzia%C5%82aja-itemy-w-gui/#findComment-87097
Udostępnij na innych stronach

  • 0

@Daffit GM Fajnie, że spodobało ci się nasze forum, lecz nie nabijaj poprzez taki sposób posty :).

@xBG Na szybko z edytowałem twój skrypt i znalazłem literówkę "bookshlef" (powinno być "bookshelf").

Spoiler

command /itemy:
	trigger:
		wait 2 tick
		open chest with 3 rows named "&8» &cItemy na gildie" to player
		wait 2 ticks
		format slot 0 of player with black glass to be unstealable
		loop 26 times:
			format slot loop-number of player with black glass to be unstealable
		format slot 10 of player with 1 of diamond named "&8» &c&lDiamenty" with lore " &8» &6W ekwipunku &c%amount of diamond in player's inventory%/64|| &8» &6W enderchest &c%amount of diamond in player's enderchest%/64" to be unstealable
		format slot 11 of player with 1 of gold ingot named "&8» &c&lKowadla" with lore " &8» &6W ekwipunku &c%amount of anvil in player's inventory%/64|| &8» &6W enderchest &c%amount of anvil in player's enderchest%/64" to be unstealable
		format slot 12 of player with 1 of emerald named "&8» &c&lEmerald" with lore " &8» &6W ekwipunku &c%amount of emerald in player's inventory%/64|| &8» &6W enderchest &c%amount of emerald in player's enderchest%/64" to be unstealable
		format slot 13 of player with 1 of ender pearl named "&8» &c&lEnder Perly" with lore " &8» &6W ekwipunku &c%amount of ender pearl in player's inventory%/16|| &8» &6W enderchest &c%amount of ender pearl in player's enderchest%/16" to be unstealable
		format slot 14 of player with 1 of apple named "&8» &c&lJablka" with lore " &8» &6W ekwipunku &c%amount of apple in player's inventory%/64|| &8» &6W enderchest &c%amount of apple in player's enderchest%/64" to be unstealable
		format slot 15 of player with 1 of bookshelf named "&8» &c&lBiblioteczki" with lore " &8» &6W ekwipunku &c%amount of bookshelf in player's inventory%/64|| &8» &6W enderchest &c%amount of bookshelf in player's enderchest%/64" to be unstealable
		format slot 16 of player with 1 of tnt named "&8» &c&lTnT" with lore " &8» &6W ekwipunku &c%amount of tnt in player's inventory%/64|| &8» &6W enderchest &c%amount of tnt in player's enderchest%/64" to be unstealable

 

 

Odnośnik do komentarza
https://skript.pl/temat/12372-nie-dzia%C5%82aja-itemy-w-gui/#findComment-87101
Udostępnij na innych stronach

  • 0
3 godziny temu, Switsherker napisał:

@Daffit GM Fajnie, że spodobało ci się nasze forum, lecz nie nabijaj poprzez taki sposób posty :).

@xBG Na szybko z edytowałem twój skrypt i znalazłem literówkę "bookshlef" (powinno być "bookshelf").

  Pokaż ukrytą zawartość


command /itemy:
	trigger:
		wait 2 tick
		open chest with 3 rows named "&8» &cItemy na gildie" to player
		wait 2 ticks
		format slot 0 of player with black glass to be unstealable
		loop 26 times:
			format slot loop-number of player with black glass to be unstealable
		format slot 10 of player with 1 of diamond named "&8» &c&lDiamenty" with lore " &8» &6W ekwipunku &c%amount of diamond in player's inventory%/64|| &8» &6W enderchest &c%amount of diamond in player's enderchest%/64" to be unstealable
		format slot 11 of player with 1 of gold ingot named "&8» &c&lKowadla" with lore " &8» &6W ekwipunku &c%amount of anvil in player's inventory%/64|| &8» &6W enderchest &c%amount of anvil in player's enderchest%/64" to be unstealable
		format slot 12 of player with 1 of emerald named "&8» &c&lEmerald" with lore " &8» &6W ekwipunku &c%amount of emerald in player's inventory%/64|| &8» &6W enderchest &c%amount of emerald in player's enderchest%/64" to be unstealable
		format slot 13 of player with 1 of ender pearl named "&8» &c&lEnder Perly" with lore " &8» &6W ekwipunku &c%amount of ender pearl in player's inventory%/16|| &8» &6W enderchest &c%amount of ender pearl in player's enderchest%/16" to be unstealable
		format slot 14 of player with 1 of apple named "&8» &c&lJablka" with lore " &8» &6W ekwipunku &c%amount of apple in player's inventory%/64|| &8» &6W enderchest &c%amount of apple in player's enderchest%/64" to be unstealable
		format slot 15 of player with 1 of bookshelf named "&8» &c&lBiblioteczki" with lore " &8» &6W ekwipunku &c%amount of bookshelf in player's inventory%/64|| &8» &6W enderchest &c%amount of bookshelf in player's enderchest%/64" to be unstealable
		format slot 16 of player with 1 of tnt named "&8» &c&lTnT" with lore " &8» &6W ekwipunku &c%amount of tnt in player's inventory%/64|| &8» &6W enderchest &c%amount of tnt in player's enderchest%/64" to be unstealable

 

 

Nie interesuje mnie licznik postów - chciałem mu dać proste i dopracowane rozwiązanie. Do tego automatycznie pobiera informacje z config.yml i rozróżnia graczy z uprawnieniami funnyguilds.vip od zwykłych.

Odnośnik do komentarza
https://skript.pl/temat/12372-nie-dzia%C5%82aja-itemy-w-gui/#findComment-87123
Udostępnij na innych stronach

  • 0
Spoiler
command /itemy:
 trigger:
  open chest with 10 rows named "&8» &cItemy na gildie" to player
  wait 2 ticks
  format slot 0 of player with black glass to be unstealable
  format slot 1 of player with black glass to be unstealable
  format slot 2 of player with black glass to be unstealable
  format slot 3 of player with black glass to be unstealable
  format slot 4 of player with black glass to be unstealable
  format slot 5 of player with black glass to be unstealable
  format slot 6 of player with black glass to be unstealable
  format slot 7 of player with black glass to be unstealable
  format slot 8 of player with black glass to be unstealable
  format slot 9 of player with black glass to be unstealable
  format slot 18 of player with black glass to be unstealable
  format slot 19 of player with black glass to be unstealable
  format slot 20 of player with black glass to be unstealable
  format slot 21 of player with black glass to be unstealable
  format slot 22 of player with black glass to be unstealable
  format slot 23 of player with black glass to be unstealable
  format slot 24 of player with black glass to be unstealable
  format slot 25 of player with black glass to be unstealable
  format slot 26 of player with black glass to be unstealable
  format slot 17 of player with black glass to be unstealable
   format slot 10 of player with 1 of diamond named "&8» &c&lDiamenty" with lore " &8» &6W ekwipunku &c%amount of diamond in player's inventory%/64|| &8» &6W enderchest &c%amount of diamond in player's enderchest%/64" to be unstealable
   format slot 11 of player with 1 of gold ingot named "&8» &c&lKowadla" with lore " &8» &6W ekwipunku &c%amount of anvil in player's inventory%/64|| &8» &6W enderchest &c%amount of anvil in player's enderchest%/64" to be unstealable
   format slot 12 of player with 1 of emerald named "&8» &c&lEmerald" with lore " &8» &6W ekwipunku &c%amount of emerald in player's inventory%/64|| &8» &6W enderchest &c%amount of emerald in player's enderchest%/64" to be unstealable
   format slot 13 of player with 1 of ender pearl named "&8» &c&lEnder Perly" with lore " &8» &6W ekwipunku &c%amount of ender pearl in player's inventory%/16|| &8» &6W enderchest &c%amount of ender pearl in player's enderchest%/16" to be unstealable
   format slot 14 of player with 1 of apple named "&8» &c&lJablka" with lore " &8» &6W ekwipunku &c%amount of apple in player's inventory%/64|| &8» &6W enderchest &c%amount of apple in player's enderchest%/64" to be unstealable
   format slot 15 of player with 1 of bookshelf named "&8» &c&lBiblioteczki" with lore " &8» &6W ekwipunku &c%amount of bookshelf in player's inventory%/64|| &8» &6W enderchest &c%amount of bookshlef in player's enderchest%/64" to be unstealable
   format slot 16 of player with 1 of tnt named "&8» &c&lTnT" with lore " &8» &6W ekwipunku &c%amount of tnt in player's inventory%/64|| &8» &6W enderchest &c%amount of tnt in player's enderchest%/64" to be unstealable

   stop

Ustaw wiecej rows :D

Edytowane przez Gazette1337
Zapomialem czegos napisac :D
Odnośnik do komentarza
https://skript.pl/temat/12372-nie-dzia%C5%82aja-itemy-w-gui/#findComment-87225
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ę...