Mexicodelaamigo 1 Opublikowano 4 lutego 2023 Udostępnij Opublikowano 4 lutego 2023 set {_a.%loop-number%} to "gold" parsed as item type send "%{_a.%loop-number%}%" niestety wysyła mi none Odnośnik do komentarza https://skript.pl/temat/54331-item-type/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 Saanjuk 50 Opublikowano 5 lutego 2023 Udostępnij Opublikowano 5 lutego 2023 bo nie ma takiego itemu jak gold jest jedynie gold ingot lub gold block Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329751 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Mexicodelaamigo 1 Opublikowano 5 lutego 2023 Autor Udostępnij Opublikowano 5 lutego 2023 6 godzin temu, Saanjuk napisał: bo nie ma takiego itemu jak gold jest jedynie gold ingot lub gold block chce użyć to do dania losowej części zbroji. give 1 of %{_a.1}% helmet to player Jakiś pomysł, jak to zrobić i inaczej? Próbuje zrobić to: https://skript.pl/temat/54323-zbroja/#comment-329728 Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329755 Udostępnij na innych stronach Więcej opcji udostępniania...
0 nevilee 0 Opublikowano 5 lutego 2023 Udostępnij Opublikowano 5 lutego 2023 (edytowane) Ja kiedyś zrobiłem takie coś może Ci się przyda: command /eqq [<player>]: permission: eqq trigger: # Dodaje Eq do listy które ma zlożyć: set {_RandomEq::Helmy::*} to "leather helmet" and "iron helmet" and "golden helmet" and "diamond helmet" and "netherite helmet" and "chainmail helmet" set {_RandomEq::Zbroje::*} to "leather chestplate" and "iron chestplate" and "golden chestplate" and "diamond chestplate" and "netherite chestplate" and "chainmail chestplate" set {_RandomEq::Spodnie::*} to "leather leggings" and "iron leggings" and "golden leggings" and "diamond leggings" and "netherite leggings" and "chainmail leggings" set {_RandomEq::Buty::*} to "leather boots" and "iron boots" and "golden boots" and "diamond boots" and "netherite boots" and "chainmail boots" # Losowanie z listy set {_helm} to random element of {_RandomEq::Helmy::*} set {_zbroja} to random element of {_RandomEq::Zbroje::*} set {_spodnie} to random element of {_RandomEq::Spodnie::*} set {_buty} to random element of {_RandomEq::Buty::*} send "&6> &7Otrzymałeś zestaw eq" #give {_helm} parsed as item type to player # Daje hełm do eq set players arg's helmet to {_helm} parsed as item type named "&4Zestaw pvp" # Ustawia wylosowany helm na slota || Usuwa zalozony item #give {_zbroja} parsed as item type to player # Daje zbroje do eq set players arg's chestplate to {_zbroja} parsed as item type named "&4Zestaw pvp" # Ustawia wylosowana zbroje na slota || Usuwa zalozony item #give {_spodnie} parsed as item type to player # Daje spodnie do eq set players arg's leggings to {_spodnie} parsed as item type named "&4Zestaw pvp" # Ustawia wylosowane spodnie na slota || Usuwa zalozony item #give {_buty} parsed as item type to player # Daje buty do eq set players arg's boots to {_buty} parsed as item type named "&4Zestaw pvp" # Ustawia wylosowany helm na slota || Usuwa zalozony item Edytowane 5 lutego 2023 przez nevilee Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329760 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Mexicodelaamigo 1 Opublikowano 5 lutego 2023 Autor Udostępnij Opublikowano 5 lutego 2023 6 godzin temu, nevilee napisał: Ja kiedyś zrobiłem takie coś może Ci się przyda: command /eqq [<player>]: permission: eqq trigger: # Dodaje Eq do listy które ma zlożyć: set {_RandomEq::Helmy::*} to "leather helmet" and "iron helmet" and "golden helmet" and "diamond helmet" and "netherite helmet" and "chainmail helmet" set {_RandomEq::Zbroje::*} to "leather chestplate" and "iron chestplate" and "golden chestplate" and "diamond chestplate" and "netherite chestplate" and "chainmail chestplate" set {_RandomEq::Spodnie::*} to "leather leggings" and "iron leggings" and "golden leggings" and "diamond leggings" and "netherite leggings" and "chainmail leggings" set {_RandomEq::Buty::*} to "leather boots" and "iron boots" and "golden boots" and "diamond boots" and "netherite boots" and "chainmail boots" # Losowanie z listy set {_helm} to random element of {_RandomEq::Helmy::*} set {_zbroja} to random element of {_RandomEq::Zbroje::*} set {_spodnie} to random element of {_RandomEq::Spodnie::*} set {_buty} to random element of {_RandomEq::Buty::*} send "&6> &7Otrzymałeś zestaw eq" #give {_helm} parsed as item type to player # Daje hełm do eq set players arg's helmet to {_helm} parsed as item type named "&4Zestaw pvp" # Ustawia wylosowany helm na slota || Usuwa zalozony item #give {_zbroja} parsed as item type to player # Daje zbroje do eq set players arg's chestplate to {_zbroja} parsed as item type named "&4Zestaw pvp" # Ustawia wylosowana zbroje na slota || Usuwa zalozony item #give {_spodnie} parsed as item type to player # Daje spodnie do eq set players arg's leggings to {_spodnie} parsed as item type named "&4Zestaw pvp" # Ustawia wylosowane spodnie na slota || Usuwa zalozony item #give {_buty} parsed as item type to player # Daje buty do eq set players arg's boots to {_buty} parsed as item type named "&4Zestaw pvp" # Ustawia wylosowany helm na slota || Usuwa zalozony item To mi się nie przyda Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329766 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Mexicodelaamigo 1 Opublikowano 5 lutego 2023 Autor Udostępnij Opublikowano 5 lutego 2023 give {_helmet} to player set player's helmet to {_helmet} dostaje złoty hełm ale linijka nizej juz nie działa nie zakłada mi hełmu, dlaczego? Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329767 Udostępnij na innych stronach Więcej opcji udostępniania...
0 xMarmo321 50 Opublikowano 5 lutego 2023 Udostępnij Opublikowano 5 lutego 2023 Godzinę temu, Mexicodelaamigo napisał: give {_helmet} to player set player's helmet to {_helmet} dostaje złoty hełm ale linijka nizej juz nie działa nie zakłada mi hełmu, dlaczego? Powinno być: set player's helmet to {_helmet} parsed as item type Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329768 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Mexicodelaamigo 1 Opublikowano 5 lutego 2023 Autor Udostępnij Opublikowano 5 lutego 2023 (edytowane) 17 godzin temu, xMarmo321 napisał: Powinno być: set player's helmet to {_helmet} parsed as item type tak już miałem bez tego nie dalo by sie dac przedmiotu, mialem loopa i on usuwal jaby helm Da się jakoś helmet dać w zamiennej w tym set player's (i tu zmienna) to {_helmet} parsed as Item type @xMarmo321 Edytowane 6 lutego 2023 przez Mexicodelaamigo Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329769 Udostępnij na innych stronach Więcej opcji udostępniania...
0 xMarmo321 50 Opublikowano 6 lutego 2023 Udostępnij Opublikowano 6 lutego 2023 jak już to set (zmienna) to {_helmet} parsed as item type Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329777 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Mexicodelaamigo 1 Opublikowano 6 lutego 2023 Autor Udostępnij Opublikowano 6 lutego 2023 2 minuty temu, xMarmo321 napisał: jak już to set (zmienna) to {_helmet} parsed as item type a {_zmienna} jak zapisać? set {_zmiennna} to player's helmet slot? i wtedy set {_zmienna} to {_helmet} parsed as Item type?i nie wiem czy mnie rozumiesz. ostatnia linijka ma zakładać hełm Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329778 Udostępnij na innych stronach Więcej opcji udostępniania...
1 xMarmo321 50 Opublikowano 6 lutego 2023 Udostępnij Opublikowano 6 lutego 2023 Bez wydziwiania normalny skrypt: equip player with (Hełm np.) diamond helmet Mexicodelaamigo 1 Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329779 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Mexicodelaamigo 1 Opublikowano 6 lutego 2023 Autor Udostępnij Opublikowano 6 lutego 2023 3 godziny temu, xMarmo321 napisał: Bez wydziwiania normalny skrypt: equip player with (Hełm np.) diamond helmet jeszcze lepiej, dzięki Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329803 Udostępnij na innych stronach Więcej opcji udostępniania...
0 ivall 59 Opublikowano 7 lutego 2023 Udostępnij Opublikowano 7 lutego 2023 Problem został rozwiązany. Odnośnik do komentarza https://skript.pl/temat/54331-item-type/#findComment-329834 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
Mexicodelaamigo 1
set {_a.%loop-number%} to "gold" parsed as item type send "%{_a.%loop-number%}%"niestety wysyła mi none
Odnośnik do komentarza
https://skript.pl/temat/54331-item-type/Udostępnij na innych stronach
12 odpowiedzi na to pytanie
Rekomendowane odpowiedzi