Skocz do zawartości
  • 0

Obliczanie ilości


sula008

Pytanie

Witam, pisze skript na crafting Bloku z bloku redstona (jak niektóre osoby stwierdziły za dużo redstona jest xD) i mam problem z "obliczaniem" ilości 

command /blok [<text&gt] [<number&gt]:	trigger:		if arg 1 is not set:			send "nie ma nicz"		if arg 1 is "redstone":			set {_blokredstone1} to arg 2 * 63			if player has {_blokredstone1} Redstone Block:				remove {_blokredstone1} Redstone block from the player's inventory				set {_blokredstone2} to arg 2 * 7				give {_blokredstone2} inactive redstone ore named "&a&lRedstone Blok X" to the player			else:				send "error"

chodzi o tą 6-7 linijke

Odnośnik do komentarza
https://skript.pl/temat/287-obliczanie-ilo%C5%9Bci/
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
'{_blokredstone1} Redstone Block' is not an item type (blok.sk, line 7: if player has {_blokredstone1} Redstone Block:')[18:33:15 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (blok.sk, line 11: else:')
Odnośnik do komentarza
https://skript.pl/temat/287-obliczanie-ilo%C5%9Bci/#findComment-1251
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ę...