Skocz do zawartości
  • 0

Przypisane itemy


Pan_Jabuszko

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on rightclick:
	if player's tool is elytra:
		if player's chestplate is air:
			if lore of player's tool is not set:
				set lore of player's tool to "&7Znalezione przez: &c%player%"
				stop
			set {_lore} to "%uncoloured lore of player's tool%"
			set {_owner} to 2nd element of {_lore} split at ": "
			if {_owner} is not "%player%":
				send "&cNie możesz tego używać."
				cancel event
on inventory click:
	if event-inventory is player's inventory:
		if clicked slot is 38:
			if cursor slot of player is elytra:
				if lore of cursor slot of player is not set:
					set lore of cursor slot of player to "&7Znalezione przez: &c%player%"
					stop
				set {_lore} to "%uncoloured lore of cursor slot of player%"
				set {_owner} to 2nd element of {_lore} split at ": "
				if {_owner} is not "%player%":
					send "&cNie możesz tego używać."
					cancel event
		else:
			if clicked slot is elytra:
				if click type is left mouse button with shift or right mouse button with shift:
					if player's chestplate is air:
						if lore of clicked slot is not set:
							set lore of clicked slot to "&7Znalezione przez: &c%player%"
							stop
						set {_lore} to "%uncoloured lore of clicked slot%"
						set {_owner} to 2nd element of {_lore} split at ": "
						if {_owner} is not "%player%":
							send "&cNie możesz tego używać."
							cancel event

 

Odnośnik do komentarza
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ę...