Skocz do zawartości
  • 0

Kity w gui


Mlody
 Udostępnij

Pytanie

9 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /zestawy:
	trigger:
		open chest with 1 rows named "&eZestawy:" to player
		set slot 0 of player's current inventory to diamond sword named "&7Kit vip." with lore "Weź kit VIP!"

on inventory click:
	if name of player's current inventory is "&eZestawy:":
		cancel event
		if clicked slot is 0:
			execute player command "kit vip"

Tu masz przykład resztę sam zrób.

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

  • 0
50 minut temu, KrejzolekPRO napisał:
command /zestawy:
	trigger:
		open chest with 1 rows named "&eZestawy:" to player
		set slot 0 of player's current inventory to diamond sword named "&7Kit vip." with lore "Weź kit VIP!"

on inventory click:
	if name of player's current inventory is "&eZestawy:":
		cancel event
		if clicked slot is 0:
			execute player command "kit vip"

Tu masz przykład resztę sam zrób.

Podlinkuj swój skrypt :D

 

Offtopic;

 

command /zestaw:
	trigger:
		player doesn't have netherrack named "zestawy": #'
			add 1 netherrack named "Zestawy" to player
			send "Kliknij! Masz na to 3 sekundy" to the player
			wait 3 seconds
			remove 1 netherrack named "zestawy" from the player
		else:
			send "Aby uzyc zestawow musisz nacisnac na netherrack" to the player
on click:
	player's tool is netherrack named "Zestawy":
		cancel event
		open chest with 1 rows named "Zestawy" to the player
		format slot 4 of player with 1 of diamond named "Zestaw VIP" to close then run [player command "kit VIP"]

 

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