Skocz do zawartości
  • 0

[Problem] Proszę o pomoc z "set"


Pytanie

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
14 godzin temu, hiperk napisał:

Nie dodałeś argumentu

Tu masz takie małe naprowadzenie jak to zrobić dalej

https://code.skript.pl/v9tPyQT7/

Niestety nadal ten sam błąd "'the player-arg-1%' is not an item stack"
Jakieś pomysły?

Odnośnik do komentarza
https://skript.pl/temat/21288-problem-prosz%C4%99-o-pomoc-z-set/#findComment-144770
Udostępnij na innych stronach

  • 0

player-arg .....

kod:

command /test [<player>]:
	permission: all.test
	permission message: Nie mozesz tego zrobic
	trigger:
    	if player-arg is online:
			wait 1 second
			set {helm.%player-arg%} to helmet of player-arg
			set {klata.%player-arg%} to chestplate of the player-arg
			set {gacie.%player-arg%} to legging of the player-arg
			set {buty.%player-arg%} to boots of the player-arg
		else:
        	send "Gracz %player-arg% nie jest aktywny na serwerze."

 

Odnośnik do komentarza
https://skript.pl/temat/21288-problem-prosz%C4%99-o-pomoc-z-set/#findComment-144772
Udostępnij na innych stronach

  • 0
11 minut temu, Mr Janek napisał:

player-arg .....

kod:


command /test [<player>]:
	permission: all.test
	permission message: Nie mozesz tego zrobic
	trigger:
    	if player-arg is online:
			wait 1 second
			set {helm.%player-arg%} to helmet of player-arg
			set {klata.%player-arg%} to chestplate of the player-arg
			set {gacie.%player-arg%} to legging of the player-arg
			set {buty.%player-arg%} to boots of the player-arg
		else:
        	send "Gracz %player-arg% nie jest aktywny na serwerze."

 

Nadal nie działa ale już sobie z tym poradziłem.

Dzięki za próby pomocy można zamknąć :)

Odnośnik do komentarza
https://skript.pl/temat/21288-problem-prosz%C4%99-o-pomoc-z-set/#findComment-144775
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ę...