Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Szukam] Skryptu lub pluginu.


Rekomendowane odpowiedzi

Opublikowano

Chodzi mi o to ze piszesz /efekty i owiera sie tobie okno z gui i masz tam do wyboru pospiech I na 16 min albo szybkosc I na 16 min. Za wszystko trzeba płacic emeraladmi.

 

 

Za napisanie daje like

Opublikowano

Kod nie testowny ­

options:
	
	CenaEmeraldSpeed: 64
	CenaEmeraldSpeedII: 128
	CenaEmeraldHaste: 64
	CenaEmeraldHasteII: 128
	
command /efekt:
	trigger:
		open chest with 1 rows named "&5Efekty" to player
		wait 1 tick
		format slot 0 of player with 1 of buttle named "&6SPEED I" with lore "&c&lCena: {@CenaEmeraldSpeed} Emerald" to close then run "efektruns speed %arg 2%"
		format slot 1 of player with 1 of buttle named "&6SPEED II" with lore "&c&lCena: {@CenaEmeraldSpeedII} Emerald" to close then run "efektruns speed2 %arg 2%"
		format slot 2 of player with 1 of buttle named "&6HASTE I" with lore "&c&lCena: {@CenaEmeraldSpeed} Emerald" to close then run "efektruns haste %arg 2%"
		format slot 3 of player with 1 of buttle named "&6HASTE II" with lore "&c&lCena: {@CenaEmeraldHasteII} Emerald" to close then run "efektruns haste2 %arg 2%"
		
command /efektruns [<text>] [<player>]:
	executable by: console and players
	trigger:
		if player has permission "efekt.use":
			if arg 1 is "speed":
				if arg 2 is set:
					if player has {@CenaEmeraldSpeed} emerald:
						apply speed 1 to arg 2 for 16 minutes
						send "&aEfekt zakupiono pomyslnie"
					
			if arg 1 is "speed2":
				if arg 2 is set:
					if player has {@CenaEmeraldSpeedII} emerald:
						apply speed 2 to arg 2 for 16 minutes
						send "&aEfekt zakupiono pomyslnie"
					
			if arg 1 is "haste":
				if arg 2 is set:
					if player has {@CenaEmeraldHaste} emerald:
						apply haste 1 to arg 2 for 16 minutes
						send "&aEfekt zakupiono pomyslnie"
					
			if atg 1 is "haste2":
				if arg 2 is set:
					if player has {@CenaEmeraldHasteII} emerald:
						apply haste 2 to arg 2 for 16 minutes
						send "&aEfekt zakupiono pomyslnie"
					
			

 

 

Opublikowano

 

Kod nie testowny ­

options:
	
	CenaEmeraldSpeed: 64
	CenaEmeraldSpeedII: 128
	CenaEmeraldHaste: 64
	CenaEmeraldHasteII: 128
	
command /efekt:
	trigger:
		open chest with 1 rows named "&5Efekty" to player
		wait 1 tick
		format slot 0 of player with 1 of buttle named "&6SPEED I" with lore "&c&lCena: {@CenaEmeraldSpeed} Emerald" to close then run "efektruns speed %arg 2%"
		format slot 1 of player with 1 of buttle named "&6SPEED II" with lore "&c&lCena: {@CenaEmeraldSpeedII} Emerald" to close then run "efektruns speed2 %arg 2%"
		format slot 2 of player with 1 of buttle named "&6HASTE I" with lore "&c&lCena: {@CenaEmeraldSpeed} Emerald" to close then run "efektruns haste %arg 2%"
		format slot 3 of player with 1 of buttle named "&6HASTE II" with lore "&c&lCena: {@CenaEmeraldHasteII} Emerald" to close then run "efektruns haste2 %arg 2%"
		
command /efektruns [<text>] [<player>]:
	executable by: console and players
	trigger:
		if player has permission "efekt.use":
			if arg 1 is "speed":
				if arg 2 is set:
					if player has {@CenaEmeraldSpeed} emerald:
						apply speed 1 to arg 2 for 16 minutes
						send "&aEfekt zakupiono pomyslnie"
					
			if arg 1 is "speed2":
				if arg 2 is set:
					if player has {@CenaEmeraldSpeedII} emerald:
						apply speed 2 to arg 2 for 16 minutes
						send "&aEfekt zakupiono pomyslnie"
					
			if arg 1 is "haste":
				if arg 2 is set:
					if player has {@CenaEmeraldHaste} emerald:
						apply haste 1 to arg 2 for 16 minutes
						send "&aEfekt zakupiono pomyslnie"
					
			if atg 1 is "haste2":
				if arg 2 is set:
					if player has {@CenaEmeraldHasteII} emerald:
						apply haste 2 to arg 2 for 16 minutes
						send "&aEfekt zakupiono pomyslnie"
					
			

Nie działa.

Nie oto mi chodzi.

Opublikowano

  •         format slot 0 of player with 1 of buttle named "&6SPEED I" with lore "&c&lCena: {@CenaEmeraldSpeed} Emerald" to close then run "efektruns speed %arg 2%"

  •         format slot 1 of player with 1 of buttle named "&6SPEED II" with lore "&c&lCena: {@CenaEmeraldSpeedII} Emerald" to close then run "efektruns speed2 %arg 2%"

        format slot 2 of player with 1 of buttle named "&6HASTE I" with lore "&c&lCena: {@CenaEmeraldSpeed} Emerald" to close then run "efektruns haste %arg 2%"

        format slot 3 of player with 1 of buttle named "&6HASTE II" with lore "&c&lCena: {@CenaEmeraldHasteII} Emerald" to close then run "efektruns haste2 %arg 2%"

zamień arg 2 na player

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...