Skocz do zawartości
  • 0

Mam problem znow!


Arrd1337
 Udostępnij

Pytanie

Witam w tym filmie wykorzystuje te skripty

on rightclick:
	if player's tool is 365 named "&c&l&kI &c&lCzerwona Mikstura [S] &c&l&kI":
		remove 1 365 from the player's inventory
		heal player by 0.5 hearts
on rightclick:
	if player's tool is 375 named "&c&l&kI &c&lCzerwona Mikstura [VL] &c&l&kI":
		remove 375 named "&c&l&kI &c&lCzerwona Mikstura [VL] &c&l&kI" from the player's inventory
		heal player by 2 hearts

Film: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!

Pomocy juz niedlugo start a ja nawet tego skriptu nie moge rozwiazac

Odnośnik do komentarza
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Spróbuj w ten sposób:
 

on rightclick:
	if player's tool is 375 named "&c&l&kI &c&lCzerwona Mikstura [VL] &c&l&kI":
		cancel event
		remove 375 named "&c&l&kI &c&lCzerwona Mikstura [VL] &c&l&kI" from the player's inventory
		heal player by 2 hearts
		stop
	if player's tool is 365 named "&c&l&kI &c&lCzerwona Mikstura [S] &c&l&kI":
		cancel event
		remove 1 365 from the player's inventory
		heal player by 0.5 hearts
		stop
	stop

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

By dodać kolejne potki, wystarczy, że podmienisz <...> na jakieś wartości.
 

on rightclick:
	if player's tool is 375 named "&c&l&kI &c&lCzerwona Mikstura [VL] &c&l&kI":
		cancel event
		remove 1 375 named "&c&l&kI &c&lCzerwona Mikstura [VL] &c&l&kI" from the player's inventory
		heal player by 2 hearts
		stop
	if player's tool is 365 named "&c&l&kI &c&lCzerwona Mikstura [S] &c&l&kI":
		cancel event
		remove 1 365 named "&c&l&kI &c&lCzerwona Mikstura [S] &c&l&kI" from the player's inventory
		heal player by 0.5 hearts
		stop
	if player's tool is <item> named "<nazwa>":
		cancel event
		remove 1 <item> named "<nazwa>" from the player's inventory
		heal player by <amount> hearts #Jakaś akcja, np. heal
		stop
	stop

 

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...