HaX1oR 76 Opublikowano 30 grudnia 2015 Udostępnij Opublikowano 30 grudnia 2015 Mógłby ktoś napisać mi skrypt na zmianę EQ. Jak? Kazdy gracz może mieć 2 EQ 1 eq na sobie a 2 wkłada mu do czasowej zmiennej, 2 eq można zmienic za 1 przy komendzie np: ./zmianaeq2 Odnośnik do komentarza https://skript.pl/temat/9928-expert-zmiana-eq/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 Nieaktywny Opublikowano 30 grudnia 2015 Udostępnij Opublikowano 30 grudnia 2015 Pobaw się z tym, bo nie rozumniem restore inventory from {ZMIENNA} to the player Odnośnik do komentarza https://skript.pl/temat/9928-expert-zmiana-eq/#findComment-74439 Udostępnij na innych stronach Więcej opcji udostępniania...
0 krzysek 73 Opublikowano 31 grudnia 2015 Udostępnij Opublikowano 31 grudnia 2015 variables: {geq.%player%} = 1 command /zmianaeq [<integer>]: permission: twoje.perm trigger: if arg 1 is set: if arg isn't 1 or 2: message "&8[&6&l>&8] &c&lPoprawne uzycie: /zmianaeq [1/2]" stop else: if arg is 1: if {geq.%player%} is 1: message "&8[&6&l>&8] &c&lPosiadasz juz na sobie to eq !" stop else: delete {geq.%player%.inv1::*} loop all items in player's inventory: add loop-item to {geq.%player%.inv1::*} wait 1 tick clear player's inventory loop {geq.%player%.inv2::*}: add loop-value to player's inventory set {geq.%player%} to 1 message "&8[&6&l>&8] &a&lZmieniono eq" stop if arg 1 is 2: if {geq.%player%} is 2: message "&8[&6&l>&8] &c&lPosiadasz juz na sobie to eq !" stop else: delete {geq.%player%.inv2::*} loop all items in player's inventory: add loop-item to {geq.%player%.inv2::*} wait 1 tick clear player's inventory loop {geq.%player%.inv1::*}: add loop-value to player's inventory set {geq.%player%} to 2 message "&8[&6&l>&8] &a&lZmieniono eq" stop else: message "&8[&6&l>&8] &c&lPoprawne uzycie: /zmianaeq [1/2]" stop Pozmieniaj pod siebie (jeśli potrzeba) Odnośnik do komentarza https://skript.pl/temat/9928-expert-zmiana-eq/#findComment-74707 Udostępnij na innych stronach Więcej opcji udostępniania...
0 HaX1oR 76 Opublikowano 1 stycznia 2016 Autor Udostępnij Opublikowano 1 stycznia 2016 Krzysiek. A możesz zrobić aby ekwipunek nie zamieniał się tylko [ założone eq na sobie ] Odnośnik do komentarza https://skript.pl/temat/9928-expert-zmiana-eq/#findComment-74780 Udostępnij na innych stronach Więcej opcji udostępniania...
0 krzysek 73 Opublikowano 1 stycznia 2016 Udostępnij Opublikowano 1 stycznia 2016 @HaX1oR W sensie zbroja ? Odnośnik do komentarza https://skript.pl/temat/9928-expert-zmiana-eq/#findComment-74800 Udostępnij na innych stronach Więcej opcji udostępniania...
0 HaX1oR 76 Opublikowano 1 stycznia 2016 Autor Udostępnij Opublikowano 1 stycznia 2016 tak hełm, zbrojka , spodnie, butki Odnośnik do komentarza https://skript.pl/temat/9928-expert-zmiana-eq/#findComment-74803 Udostępnij na innych stronach Więcej opcji udostępniania...
0 krzysek 73 Opublikowano 1 stycznia 2016 Udostępnij Opublikowano 1 stycznia 2016 variables: {geq.%player%} = 1 command /zmianaeq [<integer>]: permission: twoje.perm trigger: if arg 1 is set: if arg isn't 1 or 2: message "&8[&6&l>&8] &c&lPoprawne uzycie: /zmianaeq [1/2]" stop else: if arg is 1: if {geq.%player%} is 1: message "&8[&6&l>&8] &c&lPosiadasz juz na sobie to eq !" stop else: set {geq.%player%.inv2::helmet} to player's helmet set {geq.%player%.inv2::chestplate} to player's chestplate set {geq.%player%.inv2::leggings} to player's leggings set {geq.%player%.inv2::boots} to player's boots wait 1 tick set player's helmet to {geq.%player%.inv1::helmet} set player's chestplate to {geq.%player%.inv1::chestplate} set player's leggings to {geq.%player%.inv1::leggings} set player's boots to {geq.%player%.inv1::boots} set {geq.%player%} to 1 message "&8[&6&l>&8] &a&lZmieniono eq" stop if arg is 2: if {geq.%player%} is 2: message "&8[&6&l>&8] &c&lPosiadasz juz na sobie to eq !" stop else: set {geq.%player%.inv1::helmet} to player's helmet set {geq.%player%.inv1::chestplate} to player's chestplate set {geq.%player%.inv1::leggings} to player's leggings set {geq.%player%.inv1::boots} to player's boots wait 1 tick set player's helmet to {geq.%player%.inv2::helmet} set player's chestplate to {geq.%player%.inv2::chestplate} set player's leggings to {geq.%player%.inv2::leggings} set player's boots to {geq.%player%.inv2::boots} set {geq.%player%} to 1 message "&8[&6&l>&8] &a&lZmieniono eq" stop else: message "&8[&6&l>&8] &c&lPoprawne uzycie: /zmianaeq [1/2]" stop Powinno działać, tego akurat nie testowałem. Jak jest jakiś błąd to daj log'a. Odnośnik do komentarza https://skript.pl/temat/9928-expert-zmiana-eq/#findComment-74806 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
HaX1oR 76
Mógłby ktoś napisać mi skrypt na zmianę EQ. Jak? Kazdy gracz może mieć 2 EQ 1 eq na sobie a 2 wkłada mu do czasowej zmiennej, 2 eq można zmienic za 1 przy komendzie np: ./zmianaeq2
Odnośnik do komentarza
https://skript.pl/temat/9928-expert-zmiana-eq/Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi