Skocz do zawartości
  • 0

Drop


xEver1337

Pytanie

Witam napisalem skrypt na drop ktory wyglada tak: {to tylko jego fragment}

command /drop [<player>]:
    trigger:
        wait 1 tick
        open chest with 1 row named "&8&l[&7&lDrop&8&l]" to player
        wait 1 tick
        format slot 0 of player with stone named "&7&lDrop ze stone" to run "000712 stone %player%"
        format slot 1 of player with obsidian named "&7&lDrop z obsydianu" to run "000712 obsydian %player%"
        format slot 2 of player with leaves named "&7&lDrop z lisci" to run "000712 liscie %player%"
        format slot 8 of player with gold pickaxe named "&7&lStatystyki" to run "000713 statystyki %player%"
        stop
command /000712 [<text>] [<player>]:
    trigger:
        if arg 1 is "stone":
            open chest with 3 row named "&8&l[&7&lDrop&8&l]" to player-arg
            wait 1 tick
            format slot 0 of player-arg with diamond named "&b&lDiament" with lore "&9Szansa&7: &f1.50" to close
            format slot 1 of player-arg with emerald named "&2&lEmerald" with lore "&9Sznasa&7: &f2.75"  to close
            format slot 2 of player-arg with iron ingot named "&7&lZelazo" with lore "&9Szansa&7: &f5.0" to close
            format slot 3 of player-arg with gold ingot named "&6&lZloto" with lore "&9Szansa&7: &f2.0" to close
            format slot 4 of player-arg with Coal named "&8&lWegiel" with lore "&9Szansa&7: &f10.0" to close
            format slot 5 of player-arg with redstone named "&4&lRedstone" with lore "&9Szansa&7: &f8.50" to close
            format slot 6 of player-arg with book named "&5&lKsiazka" with lore "&9Szansa&7: &f1.5" to close
            format slot 7 of player-arg with ender pearl named "&3&lPerelka" with lore "&9Szansa&7: &f0.75" to close
            format slot 8 of player-arg with apple named "&c&lJablko" with lore "&9Szansa&7: &f1.85" to close
            format slot 18 of player-arg with xp bottle named "&f&lExp" with lore "&9Szansa&7: &f50.0" to close
            format slot 19 of player-arg with stone named "&7&lStone" with lore "&9Szansa&7: &f100.0" to close
            format slot 20 of player-arg with red wool named "&4&lPowrot" with lore "&7Kliknij aby powrocic do menu dropu" to run "drop %player%"

Problem tkwi tylko w ostatnim zdaniu:

   format slot 20 of player-arg with red wool named "&4&lPowrot" with lore "&7Kliknij aby powrocic do menu dropu" to run "drop %player%"

Gdy nacisne na czerwona welne to nie tepa mnie do glownego dropu tylko nic sie nie dzieje ;c

Pomozcie pls

 

Odnośnik do komentarza
https://skript.pl/temat/16933-drop/
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
31 minut temu, xEver1337 napisał:

Witam napisalem skrypt na drop ktory wyglada tak: {to tylko jego fragment}

command /drop [<player>]:
    trigger:
        wait 1 tick
        open chest with 1 row named "&8&l[&7&lDrop&8&l]" to player
        wait 1 tick
        format slot 0 of player with stone named "&7&lDrop ze stone" to run "000712 stone %player%"
        format slot 1 of player with obsidian named "&7&lDrop z obsydianu" to run "000712 obsydian %player%"
        format slot 2 of player with leaves named "&7&lDrop z lisci" to run "000712 liscie %player%"
        format slot 8 of player with gold pickaxe named "&7&lStatystyki" to run "000713 statystyki %player%"
        stop
command /000712 [<text>] [<player>]:
    trigger:
        if arg 1 is "stone":
            open chest with 3 row named "&8&l[&7&lDrop&8&l]" to player-arg
            wait 1 tick
            format slot 0 of player-arg with diamond named "&b&lDiament" with lore "&9Szansa&7: &f1.50" to close
            format slot 1 of player-arg with emerald named "&2&lEmerald" with lore "&9Sznasa&7: &f2.75"  to close
            format slot 2 of player-arg with iron ingot named "&7&lZelazo" with lore "&9Szansa&7: &f5.0" to close
            format slot 3 of player-arg with gold ingot named "&6&lZloto" with lore "&9Szansa&7: &f2.0" to close
            format slot 4 of player-arg with Coal named "&8&lWegiel" with lore "&9Szansa&7: &f10.0" to close
            format slot 5 of player-arg with redstone named "&4&lRedstone" with lore "&9Szansa&7: &f8.50" to close
            format slot 6 of player-arg with book named "&5&lKsiazka" with lore "&9Szansa&7: &f1.5" to close
            format slot 7 of player-arg with ender pearl named "&3&lPerelka" with lore "&9Szansa&7: &f0.75" to close
            format slot 8 of player-arg with apple named "&c&lJablko" with lore "&9Szansa&7: &f1.85" to close
            format slot 18 of player-arg with xp bottle named "&f&lExp" with lore "&9Szansa&7: &f50.0" to close
            format slot 19 of player-arg with stone named "&7&lStone" with lore "&9Szansa&7: &f100.0" to close
            format slot 20 of player-arg with red wool named "&4&lPowrot" with lore "&7Kliknij aby powrocic do menu dropu" to run "drop %player%"

Problem tkwi tylko w ostatnim zdaniu:

   format slot 20 of player-arg with red wool named "&4&lPowrot" with lore "&7Kliknij aby powrocic do menu dropu" to run "drop %player%"

Gdy nacisne na czerwona welne to nie tepa mnie do glownego dropu tylko nic sie nie dzieje ;c

Pomozcie pls

 

 format slot 20 of player-arg with red wool named "&4&lPowrot" with lore "&7Kliknij aby powrocic do menu dropu" to run close then [execute player command "drop"]

 

Odnośnik do komentarza
https://skript.pl/temat/16933-drop/#findComment-115773
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ę...