Skocz do zawartości
  • 0

Potrzebuje pomocy


Erro

Pytanie

Chcem zeby potrzebne byly dwa rozne przedmioty do przywolania tego kilofu.

on inventory click:
    if inventory name of player's current inventory is "&7&lMENU":
        cancel event
        if clicked slot is 24:
            cancel event
            loop all items in the inventory of player:
                if loop-item-2 is redstone, red dye:
                    give diamond pickaxe of efficiency 5 and fortune 4 and unbreaking 3 named "&3&lKILOF SZCZESCIA" to player
                    remove red dye from player
                    stop
                else:
                    send "&7>> &c&lNie masz potrzebnych przedmiotow!" to player                
 

Odnośnik do komentarza
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
51 minut temu, Erro napisał:

Chcem zeby potrzebne byly dwa rozne przedmioty do przywolania tego kilofu.

Chcę*

 

on inventory click:
    if inventory name of player's current inventory is "&7&lMENU":
        cancel event
        if clicked slot is 24:
            cancel event
            set {_x::*} to all items in player's inventory
            if {_x::*} contains red dye, dirt and diamond:
                give diamond pickaxe of efficiency 5 and fortune 4 and unbreaking 3 named "&3&lKILOF SZCZESCIA" to player
                remove red dye from player
                stop
            else:
                send "&7>> &c&lNie masz potrzebnych przedmiotow!" to player                

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Dzięki  za pomoc i za poprawke

20 minut temu, Turas napisał:

Chcę*

 


on inventory click:
    if inventory name of player's current inventory is "&7&lMENU":
        cancel event
        if clicked slot is 24:
            cancel event
            set {_x::*} to all items in player's inventory
            if {_x::*} contains red dye, dirt and diamond:
                give diamond pickaxe of efficiency 5 and fortune 4 and unbreaking 3 named "&3&lKILOF SZCZESCIA" to player
                remove red dye from player
                stop
            else:
                send "&7>> &c&lNie masz potrzebnych przedmiotow!" to player                

 

:P

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