Skocz do zawartości
  • 0

Nie działają itemy


Jakuuuub

Pytanie

Cześć! Mam skrypt na kity, problem w tym, że jak chce dać w kicie zbrojke, nie daje zbrojki, próbowałem już różnie to zapisywać, po tym id (np.: 310), diamond_helmet, diamond helmet. I nic nie działało, liczę na szybką pomoc :)

variables:
    {zestawGracz::%player%} = false
    {zestawVip::%player%} = false
command /odbierzzestaw [<text="brak">] [<text>]:
    trigger:
        if arg 1 is not "start" or "vip" or "svip" or "stoniarka" or "premiumcase" Or "drewno":
            send "&8» &7Komenda &e/odbierzzestaw &7nie zostala odnaleziona!"
        if arg 1 is "start":
            if player don't have permission "sv.slowdown.kits":
                if {zestawGracz::%player%} is false:
                    set {zestawGracz::%player%} to true
                    send player title "&4-" with subtitle "&7Otrzymales zestaw&8: &6START" for 5 seconds
                    give 1 278 of Efficiency 5, Unbreaking 3, Fortune 3 named "&fKilof 5/3" to player
                    give 32 cooked beef named "&7Pieczone miesko" with lore "Smacznego :D" to player
                    give 1 ender chest named "&fEnder Chest" to player
                    give 32 17 named "&fDrewno" to player
                    give 16 torch named "&fTorch" to player
                    give diamond helmet named "Helm koxa" to player
                    wait 1 hour
                    set {zestawGracz::%player%} to false
                    stop
                else:
                    send player title "-" with subtitle "&cMusisz poczekac jeszcze troche!"
                    stop
            else:
                send player title "&4-" with subtitle "&7Otrzymales zestaw&8: &6START" for 5 seconds
                give 1 278 of Efficiency 5, Unbreaking 3, Fortune 3 named "&fKilof 5/3/3" to player
                give 32 cooked beef named "&7Pieczone miesko" with lore "Smacznego :D" to player
                give 1 ender chest named "&fEnder Chest" to player
                give 32 17 named "&fDrewno" to player
                give 16 torch named "&fTorch" to player
                give diamond helmet named "Helm koxa" to player
           else:
                send player title "" with subtitle "&7Nie posiadasz uprawnien!"
        if arg 1 is "VIP":
            if player don't have permission "sv.slowdown.kits":
                if {zestawVIP::%player%} is false:
                    set {zestawVIP::%player%} to true
                    send player title "-" with subtitle "&7Otrzymales zestaw&8: &6VIP" for 5 seconds
                    give 1 276 of Sharpness 5, Unbreaking 3, Fire Aspect 2 named "&fMiecz 5/3/2" to player
                    give 1 278 of Efficiency 5, Unbreaking 3, Fortune 3 named "&fKilof 5/3/3" to player
                    give 64 cooked beef named "&7Pieczone miesko" with lore "Smacznego :D" to player
                    give 10 322:1 named "&fKox" to player
                    give 10 322 named "&fRefil" to player
                    give 32 17 named "&fDrewno" to player
                    give 1 diamond helmet of protection 4 and unbreaking 3 named "Helm 4/3" to player
                    give 1 diamond chestplate of protection 4 and unbreaking 3 named "Klata 4/3" to player
                    give 1 diamond leggings of protection 4 and unbreaking 3 named "Spodnie 4/3" to player
                    give 1 diamond boots of protection 4 and unbreaking 3 named "Buty 4/3" to player
                    wait 1 hour
                    set {zestawVIP::%player%} to false
                    stop
                else:
                    send player title "&4-" with subtitle "&cMusisz poczekac jeszcze troche!"
                    stop
            else:
                send player title "&4-" with subtitle "&7Otrzymales zestaw&8: &6VIP" for 5 seconds
                give 1 276 of Sharpness 5, Unbreaking 3, Fire Aspect 2 named "&fMiecz 5/3/2" to player
                give 1 278 of Efficiency 5, Unbreaking 3, Fortune 3 named "&fKilof 5/3/3" to player
                give 64 cooked beef named "&7Pieczone miesko" with lore "Smacznego :D" to player
                give 10 322:1 named "&fKox" to player
                give 12 322 named "&fRefil" to player
                give 32 17 named "&fDrewno" to player
                give 1 diamond helmet of protection 4 and unbreaking 3 named "Helm 4/3" to player
                give 1 diamond chestplate of protection 4 and unbreaking 3 named "Klata 4/3" to player
                give 1 diamond leggings of protection 4 and unbreaking 3 named "Spodnie 4/3" to player
                give 1 diamond boots of protection 4 and unbreaking 3 named "Buty 4/3" to player
           else:
                send player title "" with subtitle "&7Nie posiadasz uprawnien!"


 

Odnośnik do komentarza
https://skript.pl/temat/42347-nie-dzia%C5%82aj%C4%85-itemy/
Udostępnij na innych stronach

7 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
1 minutę temu, Jakuuuub napisał:

Cześć! Mam skrypt na kity, problem w tym, że jak chce dać w kicie zbrojke, nie daje zbrojki, próbowałem już różnie to zapisywać, po tym id (np.: 310), diamond_helmet, diamond helmet. I nic nie działało, liczę na szybką pomoc :)

To, że coś nie działa, niewiele mi mówi. Podaj silnik serwera, jego wersję, wersję Skripta oraz dodatki do niego.

Odnośnik do komentarza
https://skript.pl/temat/42347-nie-dzia%C5%82aj%C4%85-itemy/#findComment-265448
Udostępnij na innych stronach

  • 0
7 minut temu, Kormic napisał:

To, że coś nie działa, niewiele mi mówi. Podaj silnik serwera, jego wersję, wersję Skripta oraz dodatki do niego.

Spigot 1.8.8, 1.8.8, wersja skrypta nwm (ale wszystkie skrypty mi dzialaja), dodatki to: WildSkript, SkQuery. Rozmiar buta: 41

Edytowane przez Jakuuuub
Odnośnik do komentarza
https://skript.pl/temat/42347-nie-dzia%C5%82aj%C4%85-itemy/#findComment-265450
Udostępnij na innych stronach

  • 0
Teraz, Jakuuuub napisał:

Skript 2.1.2

Spróbuj zaktualizować Skripta do wersji 2.5 forku Matocolotoe.

https://github.com/Matocolotoe/Skript-1.8/releases

Odnośnik do komentarza
https://skript.pl/temat/42347-nie-dzia%C5%82aj%C4%85-itemy/#findComment-265455
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ę...