Skocz do zawartości
  • 0

Poprawa skryptu na dodawanie żyć


Pytanie

Siema mam taki skrypt i wyskakują takie błędy:

[20:41:20 ERROR]: Can't understand this condition/effect: set arg-2 max helath of player (wiadomosc.sk, line 70: set arg-2 max helath of player')

 

command /zyciadodaj <player> [<integer>]:
	permission: dodajzycia
	trigger:
		add arg-2 to max helath of player

 

Odnośnik do komentarza
https://skript.pl/temat/18368-poprawa-skryptu-na-dodawanie-%C5%BCy%C4%87/
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /zyciadodaj <player> [<integer>]:
	permission: dodajzycia
	trigger:
		set {_} to helath of player-arg
		add arg-2 to {_}
		set max helath of player-arg to {_}

proszę :v a i błędy na 100% dałeś z innego skriptu bo t tym nie ma linijki "set arg-2 max helath of player "

Edytowane przez kaol48s
Odnośnik do komentarza
https://skript.pl/temat/18368-poprawa-skryptu-na-dodawanie-%C5%BCy%C4%87/#findComment-125697
Udostępnij na innych stronach

  • 0

@kaol48s[19:40:30 ERROR]: 'argument(s)' cannot be used if the command has multiple arguments. Use 'argument 1', 'argument 2', etc. instead (wiadomosc.sk, line 70: set {_} to helath of player-arg')
[19:40:30 ERROR]: 'argument(s)' cannot be used if the command has multiple arguments. Use 'argument 1', 'argument 2', etc. instead (wiadomosc.sk, line 72: set max helath of player-arg to {_}')

Odnośnik do komentarza
https://skript.pl/temat/18368-poprawa-skryptu-na-dodawanie-%C5%BCy%C4%87/#findComment-125778
Udostępnij na innych stronach

  • 0
command /zyciadodaj <offlineplayer> [<integer>]:
	permission: dodaj.zycia
	trigger:
		set {_p} to offlineplayer-arg
		set {_} to max health of {_p}
		add integer-arg to {_}
		set max health of {_p} to {_}

 

Odnośnik do komentarza
https://skript.pl/temat/18368-poprawa-skryptu-na-dodawanie-%C5%BCy%C4%87/#findComment-125780
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ę...