Skocz do zawartości
  • 0

jak dodac item dropu do 2 linijki kodu


Pytanie

ok mam skrypt ze drop jest w gui w pierwszej linijce 9 slotow

i mam  2 linijki slotow po 9 jak wstawic do 2 linijki pomoze ktos ? 

on mine of stone:
    if player has permissions "drop.on":
        chance of 50%:
            give 1 iron ingot to the player
        chance of 50%:
            give 1 gold ingot to the player
        chance of 50%:
            give 1 diamond to the player
        chance of 50%:
            give 1 emerald to the player
        chance of 25%:
            give 1 obsidian to the player
        chance of 25%:
            give 1 ender pearl to the player
    chance of 25%:
        give 1 tnt to the player
 
 
 
command /drop:    
    trigger:        
        open chest with 2 rows named "&1Drop" to player        
        wait 2 tick        
        format slot 0 of player with 1 of emerald named "&8>>&aSzmaragd" with lore "&8>> &6Szansa &8>> &650 Procent" to close
        format slot 1 of player with 1 of gold ingot named "&8>>&eZloto" with lore "&8>> &6Szansa &8>> &650 Procent" to close
        format slot 2 of player with 1 of diamond named "&8>>&bDiament" with lore "&8>> &6Szansa &8>> &650 Procent"  to close
        format slot 3 of player with 1 of iron ingot named "&8>>&fZelazo" with lore "&8>> &6Szansa &8>> &650 Procent" to close
        format slot 4 of player with 1 of obsidian named "&8>>&7Obsydian" with lore "&8>> &6Szansa &8>> &625 Procent" to close
        format slot 5 of player with 1 of 368 named "&8>>&5Ender Perla" with lore "&8>> &6Szansa &8>> &625 Procent" to close
        format slot 6 of player with 1 of 160:15 named "&8Autorzy BananekxX i YT_Szymek_YT" to close
        format slot 7 of player with 1 of 35:14 named "&cWylacz Drop" to close then run "pex user %player% remove drop.on"
        format slot 8 of player with 1 of 35:5 named "&aWlacz Drop" to close then run "pex user %player% add drop.on"
        format slot (jaki nr slotu) od player with 1 of tnt named "&4T&fN&4T" with lore "&8>> &6Szansa &8>> &650 Procent" to close

 

jak mam wstawic item do drugiej linijki slotow

Edytowane przez PoweredDragon
Odnośnik do komentarza
https://skript.pl/temat/19202-jak-dodac-item-dropu-do-2-linijki-kodu/
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

tak ale ja wpisuje slot 9 i nie dziala 

 

command /drop:    
    trigger:        
        open chest with 2 rows named "&1Drop" to player        
        wait 2 tick        
        format slot 0 of player with 1 of emerald named "&8>>&aSzmaragd" with lore "&8>> &6Szansa &8>> &63 Procent" to close
        format slot 1 of player with 1 of gold ingot named "&8>>&eZloto" with lore "&8>> &6Szansa &8>> &66 Procent" to close
        format slot 2 of player with 1 of diamond named "&8>>&bDiament" with lore "&8>> &6Szansa &8>> &64 Procent"  to close
        format slot 3 of player with 1 of iron ingot named "&8>>&fZelazo" with lore "&8>> &6Szansa &8>> &67 Procent" to close
        format slot 4 of player with 1 of obsidian named "&8>>&7Obsydian" with lore "&8>> &6Szansa &8>> &65 Procent" to close
        format slot 5 of player with 1 of 368 named "&8>>&5Ender Perla" with lore "&8>> &6Szansa &8>> &62 Procent" to close
        format slot 6 of player with 1 of 160:15 named "&8Autorzy BananekxX i YT_Szymek_YT" to close
        format slot 7 of player with 1 of 35:14 named "&cWylacz Drop" to close then run "pex user %player% remove drop.on"
        format slot 8 of player with 1 of 35:5 named "&aWlacz Drop" to close then run "pex user %player% add drop.on"
        format slot 9 of player with 1 of tnt named "&4T&fN&4T" with lore "&8>> &6Szansa &8>> &64,5 Procent" to close

 

ok mam juz zle wpisalem

@wojtek_stg123\ kompilacja multipostów nie jest karalna, ale może zacząć być w szczególnych przypaddkach...

Odnośnik do komentarza
https://skript.pl/temat/19202-jak-dodac-item-dropu-do-2-linijki-kodu/#findComment-130826
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ę...