Skocz do zawartości
  • 0

give


pawel1232

Pytanie

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
4 minuty temu, pawel1232 napisał:

command /i [<itemtypes>] [<integer>]:
	trigger:
		if player has permission "giveitem.agesv":
			if arg 1 is set:
				if arg 2 is set:
					give arg 1 arg 2 to player

Poprawi mi ktos to zeby dzialalo ? go nie moze byc arg obok arg 

command /i [<itemtypes>] [<integer>]:
	trigger:
		if player doesn't have permission "giveitem.agesv":
			stop
		if arg 1 is not set:
			stop
		if arg 2 is not set:
			stop
		give arg 1 of arg 2 to player

Sprawdź z tym.

Odnośnik do komentarza
https://skript.pl/temat/41195-give/#findComment-257538
Udostępnij na innych stronach

  • 0
2 minuty temu, Kormic napisał:

command /i [<itemtypes>] [<integer>]:
	trigger:
		if player doesn't have permission "giveitem.agesv":
			stop
		if arg 1 is not set:
			stop
		if arg 2 is not set:
			stop
		give arg 1 of arg 2 to player

Sprawdź z tym.

Nie działa argument(s)  can not be used if the command has multiple arguments

Odnośnik do komentarza
https://skript.pl/temat/41195-give/#findComment-257540
Udostępnij na innych stronach

  • 0
4 minuty temu, pawel1232 napisał:

Nie działa argument(s)  can not be used if the command has multiple arguments

command /i [<item>] [<integer>]:
	trigger:
		if player doesn't have permission "giveitem.agesv":
			stop
		if arg 1 is not set:
			stop
		if arg 2 is not set:
			stop
		set {_item} to arg 1
		set {_int} to arg 2	
		give {_int} of {_item} to player	

Może tak? Błędu już nie ma.

Edytowane przez Kormic
Odnośnik do komentarza
https://skript.pl/temat/41195-give/#findComment-257544
Udostępnij na innych stronach

  • 0
3 minuty temu, Kormic napisał:

command /i [<item>] [<integer>]:
	trigger:
		if player doesn't have permission "giveitem.agesv":
			stop
		if arg 1 is not set:
			stop
		if arg 2 is not set:
			stop
		set {_item} to arg 1
		set {_int} to arg 2	
		give {_int} of {_item} to player	

Może tak? Błędu już nie ma.

Działa dzięki!

Odnośnik do komentarza
https://skript.pl/temat/41195-give/#findComment-257549
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ę...