Skocz do zawartości
  • 0

Skrypt na gui!


Zima

Pytanie

Witam dziś chciałbym was poprosić o napisanie skryptu na komende /krysztaly i zeby otwieralo sie gui i byly wypisane krysztaly (krysztalami beda diamenty emeraldy palki bleaza, sztabka zlota oraz sztabka zelaza o roznych nazwach nazwy sam ustawie) i zeby byly 3 linijki w srodkowej 7 miejsc na krysztaly reszta wypelniona czarnymi szybami i nie mozna z tego gui nic zabierac i zeby w prawym dolnym rogu byl blok welny czerwonej i po nacisnieciu go zeby nadawalo ci wszystkie krysztaly ktore sa. Jeżeli nie rozumiecie zaraz dodam film o co mi chodzi :)

Edytowane przez Zima
Odnośnik do komentarza
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
13 minut temu, Zima napisał:

Witam dziś chciałbym was poprosić o napisanie skryptu na komende /krysztaly i zeby otwieralo sie gui i byly wypisane krysztaly (krysztalami beda diamenty emeraldy palki bleaza, sztabka zlota oraz sztabka zelaza o roznych nazwach nazwy sam ustawie) i zeby byly 3 linijki w srodkowej 7 miejsc na krysztaly reszta wypelniona czarnymi szybami i nie mozna z tego gui nic zabierac i zeby w prawym dolnym rogu byl blok welny czerwonej i po nacisnieciu go zeby nadawalo ci wszystkie krysztaly ktore sa. 

Proszę.

command /krysztaly:
	trigger:
		open chest inventory with 3 rows named "&6&lKryształy" to player
		set slot (integers between 0 and 26) of player's current inventory to black stained glass pane named " "
		set slot 10 of player's current inventory to diamond
		set slot 11 of player's current inventory to emerald
		set slot 12 of player's current inventory to blaze rod
		set slot 13 of player's current inventory to gold ingot
		set slot 14 of player's current inventory to iron ingot
		set slot (15 and 16) of player's current inventory to air
		set slot 26 of player's current inventory to red wool
		
on inventory click:
	name of player's current inventory is "&6&lKryształy"
	clicked inventory is not player's inventory
	cancel event
	clicked slot is 26
	give slot (integers between 10 and 14) of player's current inventory to player

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
3 minuty temu, Kormic napisał:

Proszę.


command /krysztaly:
	trigger:
		open chest inventory with 3 rows named "&6&lKryształy" to player
		set slot (integers between 0 and 26) of player's current inventory to black stained glass pane named " "
		set slot 10 of player's current inventory to diamond
		set slot 11 of player's current inventory to emerald
		set slot 12 of player's current inventory to blaze rod
		set slot 13 of player's current inventory to gold ingot
		set slot 14 of player's current inventory to iron ingot
		set slot (15 and 16) of player's current inventory to air
		set slot 26 of player's current inventory to red wool
		
on inventory click:
	name of player's current inventory is "&6&lKryształy"
	clicked inventory is not player's inventory
	cancel event
	clicked slot is 26
	give slot (integers between 10 and 14) of player's current inventory to player

 

dzięki wielkie

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ę...