Skocz do zawartości
  • 0

funkcja give


innos
 Udostępnij

Pytanie

pisze mi tak wszedzie gdzie mam give  '1 diamond helmet of protection 4' and 'umbreaking 3') can't be added to a player because the former is neither an item type, an inventory nor an experience point

 

wycinek ze skryptu:

on right click:
    if player's tool is chest:
        if name of player's tool is "{@nazwa}":
            broadcast "[{@nazwa}] {@otwarcieskrzynkiwiadomosc}"
            chance of 30%:
                give 1 diamond helmet to player
                give 1 diamond chestplate to player
                give 1 diamond leggings to player
                give 1 diamond boots to player
            chance of 10%:
                give 1 diamond helmet of protection 4 and umbreaking 3 to player
            chance of 10%:
                give 1 diamond chestplate of protection 4 and umbreaking 3 to player
            chance of 10%:
                give 1 diamond leggings of protection 4 and umbreaking 3 to player
            chance of 10%:
                give 1 diamond boots of protection 4 and umbreaking 3 to player

Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

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