Skocz do zawartości
  • 0

kit w gui


Usunięty#31276

Pytanie

11 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 1
3 godziny temu, Szygran napisał:

Ktoś mi zrobi kit w gui?

 

chciałbym aby tam się znajdowało: 

» start

» vip

» vip+

» sponsor

» sponsor+

Proszę.

command /kit:
	trigger:
		open chest inventory with 3 rows named "&6&lKity" to player
		set slot (integers between 0 and 26) of player's current inventory to black stained glass pane named " "
		set slot 9 of player's current inventory to leather chestplate named "Kit Start"
		set slot 11 of player's current inventory to chain chestplate named "Kit Vip"
		set slot 13 of player's current inventory to iron chestplate named "Kit Vip+"
		set slot 15 of player's current inventory to gold chestplate named "Kit Sponsor"
		set slot 17 of player's current inventory to diamond chestplate named "Kit Sponsor+"
		
on inventory click:
	name of player's current inventory is "&6&lKity"
	clicked inventory is not player's inventory
	cancel event

 

Edytowane przez xNightPower_
Nieaktywny

Naprawiam cytat.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
1 minutę temu, Kormic napisał:

Proszę.


command /kit:
	trigger:
		open chest inventory with 3 rows named "&6&lKity" to player
		set slot (integers between 0 and 26) of player's current inventory to black stained glass pane named " "
		set slot 9 of player's current inventory to leather chestplate named "Kit Start"
		set slot 11 of player's current inventory to chain chestplate named "Kit Vip"
		set slot 13 of player's current inventory to iron chestplate named "Kit Vip+"
		set slot 15 of player's current inventory to gold chestplate named "Kit Sponsor"
		set slot 17 of player's current inventory to diamond chestplate named "Kit Sponsor+"
		
on inventory click:
	name of player's current inventory is "&6&lKity"
	clicked inventory is not player's inventory
	cancel event

 

 a jak zrobić aby jak klikniesz np vip to ci daje itemy vipa?

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1
Teraz, Szygran napisał:

 a jak zrobić aby jak klikniesz np vip to ci daje itemy vipa?

W ten sposób.

on inventory click:
	name of player's current inventory is "&6&lKity"
	clicked inventory is not player's inventory
	cancel event
	clicked slot is 11:
		give player 64 dirt named "Itemy Vipa"

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
1 minutę temu, Kormic napisał:

W ten sposób.


on inventory click:
	name of player's current inventory is "&6&lKity"
	clicked inventory is not player's inventory
	cancel event
	clicked slot is 11:
		give player 64 dirt named "Itemy Vipa"

 

Jeszce jedno pytanie jak dać permisje że np gracz vipa nie może wziąć

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1
Teraz, Szygran napisał:

Jeszce jedno pytanie jak dać permisje że np gracz vipa nie może wziąć

on inventory click:
	name of player's current inventory is "&6&lKity"
	clicked inventory is not player's inventory
	cancel event
	clicked slot is 11:
		player has permission "permisja.vip"
		give player 64 dirt named "Itemy Vipa"

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
Teraz, Szygran napisał:

xD nie działa mi może coś źle wpisałem możesz wysłać cały skrypt?

 

Tak, proszę.

command /kit:
	trigger:
		open chest inventory with 3 rows named "&6&lKity" to player
		set slot (integers between 0 and 26) of player's current inventory to black stained glass pane named " "
		set slot 9 of player's current inventory to leather chestplate named "Kit Start"
		set slot 11 of player's current inventory to chain chestplate named "Kit Vip"
		set slot 13 of player's current inventory to iron chestplate named "Kit Vip+"
		set slot 15 of player's current inventory to gold chestplate named "Kit Sponsor"
		set slot 17 of player's current inventory to diamond chestplate named "Kit Sponsor+"
		
on inventory click:
	name of player's current inventory is "&6&lKity"
	clicked inventory is not player's inventory
	cancel event
	clicked slot is 11:
		player has permission "permisja.vip"
		give player 64 dirt named "Itemy Vipa"

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
3 godziny temu, Kormic napisał:

Tak, proszę.



command /kit:
	trigger:
		open chest inventory with 3 rows named "&6&lKity" to player
		set slot (integers between 0 and 26) of player's current inventory to black stained glass pane named " "
		set slot 9 of player's current inventory to leather chestplate named "Kit Start"
		set slot 11 of player's current inventory to chain chestplate named "Kit Vip"
		set slot 13 of player's current inventory to iron chestplate named "Kit Vip+"
		set slot 15 of player's current inventory to gold chestplate named "Kit Sponsor"
		set slot 17 of player's current inventory to diamond chestplate named "Kit Sponsor+"
		
on inventory click:
	name of player's current inventory is "&6&lKity"
	clicked inventory is not player's inventory
	cancel event
	clicked slot is 11:
		player has permission "permisja.vip"
		give player 64 dirt named "Itemy Vipa"

 

DZK bardzo pomogłeś jeszcze raz dzk

 

3 godziny temu, Kormic napisał:

Tak, proszę.



command /kit:
	trigger:
		open chest inventory with 3 rows named "&6&lKity" to player
		set slot (integers between 0 and 26) of player's current inventory to black stained glass pane named " "
		set slot 9 of player's current inventory to leather chestplate named "Kit Start"
		set slot 11 of player's current inventory to chain chestplate named "Kit Vip"
		set slot 13 of player's current inventory to iron chestplate named "Kit Vip+"
		set slot 15 of player's current inventory to gold chestplate named "Kit Sponsor"
		set slot 17 of player's current inventory to diamond chestplate named "Kit Sponsor+"
		
on inventory click:
	name of player's current inventory is "&6&lKity"
	clicked inventory is not player's inventory
	cancel event
	clicked slot is 11:
		player has permission "permisja.vip"
		give player 64 dirt named "Itemy Vipa"

 

a właśnie jeszcze jak zrobić że jeżeli nie masz permisji wyskakuje ci błąd?

Nieaktywny

Łączę posty.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1
Teraz, Szygran napisał:

a właśnie jeszcze jak zrobić że jeżeli nie masz permisji wyskakuje ci błąd?

Pamiętaj na przyszłość, aby w zleceniu dopisywać wszystkie informacje dotyczące skryptu.

on inventory click:
	name of player's current inventory is "&6&lKity"
	clicked inventory is not player's inventory
	cancel event
	clicked slot is 11:
		if player doesn't have permission "permisja.vip":
			send "&cNie posiadasz permisji!" to player
			stop
		give player 64 dirt named "Itemy Vipa"

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
3 minuty temu, Kormic napisał:

Pamiętaj na przyszłość, aby w zleceniu dopisywać wszystkie informacje dotyczące skryptu.


on inventory click:
	name of player's current inventory is "&6&lKity"
	clicked inventory is not player's inventory
	cancel event
	clicked slot is 11:
		if player doesn't have permission "permisja.vip":
			send "&cNie posiadasz permisji!" to player
			stop
		give player 64 dirt named "Itemy Vipa"

 

dzk!

 

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