Skocz do zawartości
  • 0

Pomoc z skryptem


Woszek

Pytanie

Witam, napisalem skrypt i mam problem bo w slocie 19 nie widac szkla. Moze mi ktos pomoc?


 

Spoiler

 

command /SuyTools <player>:
    permission: suy.tools
    permission message: "&cBlad! &fNie masz Uprawnien!"
    trigger:
        if arg 1 is not set:
        else:
            open chest with 6 rows named "&2SuyTools - Menu %arg 1%" to player
            send "&8[&FSuyTools&8] &2Otworzono Menu Gracza %arg 1%" to player
            wait 4 tick

            format slot 0 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 1 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 2 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 3 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 4 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 5 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 6 of player with 1 of red stained glass named "&cPustka" to close
            format slot 7 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 8 of player with 1 of red stained glass named "&cPustka" to close
            format slot 19 of player with 1 of red stained glass named "&cPustka" to close

            format slot 11 of player with 1 of diamond named "&3Wyrzuc Gracza" to close then run [execute player command "/kick %player-arg%"] 
            format slot 13 of player with 1 of emerald named "&2Zbanuj Gracza" to close then run [execute player command "/ban %player-arg%"]
            format slot 15 of player with 1 of redstone named "&cDaj Mute" to close then run [execute player command "/mute %player-arg%"]

            format slot 22 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 23 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 24 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 25 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 26 of player with 1 of red stained glass named "&cPustka" to close
            format slot 20 of player with 1 of red stained glass named "&cPustka" to close
            format slot 21 of player with 1 of red stained glass named "&cPustka" to close   
            format slot 22 of player with 1 of red stained glass named "&cPustka" to close

 

 

Odnośnik do komentarza
https://skript.pl/temat/47784-pomoc-z-skryptem/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
48 minut temu, Woszek napisał:

Witam, napisalem skrypt i mam problem bo w slocie 19 nie widac szkla. Moze mi ktos pomoc?


 

  Ukryj zawartość

 

command /SuyTools <player>:
    permission: suy.tools
    permission message: "&cBlad! &fNie masz Uprawnien!"
    trigger:
        if arg 1 is not set:
        else:
            open chest with 6 rows named "&2SuyTools - Menu %arg 1%" to player
            send "&8[&FSuyTools&8] &2Otworzono Menu Gracza %arg 1%" to player
            wait 4 tick

            format slot 0 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 1 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 2 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 3 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 4 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 5 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 6 of player with 1 of red stained glass named "&cPustka" to close
            format slot 7 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 8 of player with 1 of red stained glass named "&cPustka" to close
            format slot 19 of player with 1 of red stained glass named "&cPustka" to close

            format slot 11 of player with 1 of diamond named "&3Wyrzuc Gracza" to close then run [execute player command "/kick %player-arg%"] 
            format slot 13 of player with 1 of emerald named "&2Zbanuj Gracza" to close then run [execute player command "/ban %player-arg%"]
            format slot 15 of player with 1 of redstone named "&cDaj Mute" to close then run [execute player command "/mute %player-arg%"]

            format slot 22 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 23 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 24 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 25 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 26 of player with 1 of red stained glass named "&cPustka" to close
            format slot 20 of player with 1 of red stained glass named "&cPustka" to close
            format slot 21 of player with 1 of red stained glass named "&cPustka" to close   
            format slot 22 of player with 1 of red stained glass named "&cPustka" to close

 

 

Boże, coś ty tu zrobił?

Nie używaj format slota, użyj set slot ze skripta.

Dlaczego nie użyłeś pętli, tylko po kolei wypisujesz formatowanie?

Odnośnik do komentarza
https://skript.pl/temat/47784-pomoc-z-skryptem/#findComment-299260
Udostępnij na innych stronach

  • 0
2 godziny temu, Woszek napisał:

Witam, napisalem skrypt i mam problem bo w slocie 19 nie widac szkla. Moze mi ktos pomoc?


 

  Ukryj zawartość

 

command /SuyTools <player>:
    permission: suy.tools
    permission message: "&cBlad! &fNie masz Uprawnien!"
    trigger:
        if arg 1 is not set:
        else:
            open chest with 6 rows named "&2SuyTools - Menu %arg 1%" to player
            send "&8[&FSuyTools&8] &2Otworzono Menu Gracza %arg 1%" to player
            wait 4 tick

            format slot 0 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 1 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 2 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 3 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 4 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 5 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 6 of player with 1 of red stained glass named "&cPustka" to close
            format slot 7 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 8 of player with 1 of red stained glass named "&cPustka" to close
            format slot 19 of player with 1 of red stained glass named "&cPustka" to close

            format slot 11 of player with 1 of diamond named "&3Wyrzuc Gracza" to close then run [execute player command "/kick %player-arg%"] 
            format slot 13 of player with 1 of emerald named "&2Zbanuj Gracza" to close then run [execute player command "/ban %player-arg%"]
            format slot 15 of player with 1 of redstone named "&cDaj Mute" to close then run [execute player command "/mute %player-arg%"]

            format slot 22 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 23 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 24 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 25 of player with 1 of red stained glass named "&cPustka" to close 
            format slot 26 of player with 1 of red stained glass named "&cPustka" to close
            format slot 20 of player with 1 of red stained glass named "&cPustka" to close
            format slot 21 of player with 1 of red stained glass named "&cPustka" to close   
            format slot 22 of player with 1 of red stained glass named "&cPustka" to close

 

 

Daj loopa do format slota to wtedy automatycznie powinno się naprawić

loop 30 times:
    format slot itd.
#dalej

+ set slot tak zwanie lepszy

Odnośnik do komentarza
https://skript.pl/temat/47784-pomoc-z-skryptem/#findComment-299303
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...