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

Kopiowanie itemów w GUI


xKami

Rekomendowane odpowiedzi

Opublikowano

Hej! Mam Skrypt Na "Menu" w GUI ale niestety da sie kopiowac te przedmioty co sa w tym gui. 

 

SKRYPT:

 

#MENU
command /menu [<text>]:
    trigger:
        if arg 1 is not set:
            wait 2 tick
            open chest with 1 rows named "&b&lM&e&le&b&ln&e&lu" to player
            wait 2 tick
            format slot 0 of player with 1 of gray stained glass pane named "&f&l" to close then run [execute player command "/menu menu"]
            format slot 1 of player with 1 of gray stained glass pane named "&f&l" to close then run [execute player command "/menu menu"]
            format slot 2 of player with 1 of gray stained glass pane named "&f&l" to close then run [execute player command "/menu menu"]
            format slot 3 of player with 1 of hopper named "&7&lŚmietnik" to close then run [execute player command "/menu kosz"]
            format slot 4 of player with 1 of anvil named "&8&lUlepszanie (Beta 3)" to close then run [execute player command "/menu menu"]
            format slot 5 of player with 1 of beacon named "&6&lSklep / Skup (Pre-Alpha)" to close then run [execute player command "/menu menu"]
            format slot 6 of player with 1 of gray stained glass pane named "&f&l" to close then run [execute player command "/menu menu"]
            format slot 7 of player with 1 of gray stained glass pane named "&f&l" to close then run [execute player command "/menu menu"]
            format slot 8 of player with 1 of gray stained glass pane named "&f&l" to close then run [execute player command "/menu menu"]
        if arg 1 is "blad":
            send "&c&lUps... Nie Mozesz Wykonac Tej Czynnosci!"
        if arg 1 is "kosz":
            wait 2 tick
            open chest with 1 rows named "&8&lŚmietnik" to player
            wait 2 tick
            format slot 7 of player with 1 of ladder named "&f&l" to close then run [execute player command "/menu blad"]
            format slot 8 of player with 1 of red bed named "&c&lPowrot Do Menu" to close then run [execute player command "/menu menu"]
        if arg 1 is "menu":
            wait 2 tick
            execute player command "menu"

  • sk8erace1 zmienił(a) tytuł na Kopiowanie itemów w GUI
Opublikowano

Spróbuj czegoś takiego, jako dodatkowy event:

Cytat

on inventory click:

    if name of player's current inventory is "&b&lM&e&le&b&ln&e&lu":

        cancel event

 

Pomogłem ci ? Zostaw Lajka :)

 

To ty mi pomogłeś /aś? Przyjmij moją wdzięczność :) [i oczywiście lajka :)]

 

POZDRAWIAM SERDECZNIE! 

Opublikowano
command /menu [<text>]:
    trigger:
        if arg 1 is not set:
            wait 2 tick
            open chest with 1 rows named "&b&lM&e&le&b&ln&e&lu" to player
            wait 2 tick
  			loop 9 times:
  				if name of playe's inventory is "&b&lM&e&le&b&ln&e&lu":
  					format slot loop-time-1 of player with 1 of gray stained glass pane named "&f&l" to close then run [execute player command "/menu menu"]
  			if name of playe's inventory is "&b&lM&e&le&b&ln&e&lu":
           	 	format slot 3 of player with 1 of hopper named "&7&lŚmietnik" to close then run [execute player command "/menu kosz"]
  			if name of playe's inventory is "&b&lM&e&le&b&ln&e&lu":
            	format slot 4 of player with 1 of anvil named "&8&lUlepszanie (Beta 3)" to close then run [execute player command "/menu menu"]
  			if name of playe's inventory is "&b&lM&e&le&b&ln&e&lu":
           	 	format slot 5 of player with 1 of beacon named "&6&lSklep / Skup (Pre-Alpha)" to close then run [execute player command "/menu menu"]
        if arg 1 is "blad":
            send "&c&lUps... Nie Mozesz Wykonac Tej Czynnosci!"
        if arg 1 is "kosz":
            wait 2 tick
            open chest with 1 rows named "&8&lŚmietnik" to player
            wait 2 tick
           	format slot 7 of player with 1 of ladder named "&f&l" to close then run [execute player command "/menu blad"]
            format slot 8 of player with 1 of red bed named "&c&lPowrot Do Menu" to close then run [execute player command "/menu menu"]
        if arg 1 is "menu":
            wait 2 tick
            execute player command "menu"

 

 

 

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...