JaJkO 2 Opublikowano 21 października 2014 Udostępnij Opublikowano 21 października 2014 mshehe: &aGratulacje,&9 otrzymales jak prezent! prezent1: none prezent2: Stone prezent3: diamond prezent4: cobblestone prezent5: blaze rod prezent6: egg prezent7: egg Jak to zrobić aby była jedna zmienna z tych prezent1 itp itd np zeby pisało na czacie mshehe: &aGratulacje,&9 otrzymales [zmiena za te prezenty] jak prezent!np: mshehe: &aGratulacje,&9 otrzymales Egg jak prezent!pomoże ktoś? Odnośnik do komentarza https://skript.pl/temat/3761-pomoc-z-zmiennymi/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 Mroczny337 35 Opublikowano 21 października 2014 Udostępnij Opublikowano 21 października 2014 send "&aGratulacje,&9 otrzymales {@prezent6} jako prezent!" Odnośnik do komentarza https://skript.pl/temat/3761-pomoc-z-zmiennymi/#findComment-32418 Udostępnij na innych stronach Więcej opcji udostępniania...
0 JaJkO 2 Opublikowano 21 października 2014 Autor Udostępnij Opublikowano 21 października 2014 ale nie o to chodzi masz tutaj kod może załapieszon rightclick with egg: if name of player's tool is "&6Jajko Heheheszk'owe": if {event.hehe} is true: cancel event remove 1 egg from player's tool chance of 5%: give {@prezent1} to player send "{@mshehe}" chance of 5%: give {@prezent2} to player send "{@mshehe}" chance of 5%: give {@prezent3} to player send "{@mshehe}" chance of 5%: give {@prezent4} to player send "{@mshehe}" chance of 5%: give {@prezent5} to player send "{@mshehe}" chance of 5%: give {@prezent6} to player send "{@mshehe}" chance of 5%: give {@prezent7} to player send "{@mshehe}"options: mshehe: &aGratulacje,&9 otrzymales {@prezent6} jako prezent! prezent1: none prezent2: Stone prezent3: diamond prezent4: cobblestone prezent5: blaze rod prezent6: egg prezent7: egg Odnośnik do komentarza https://skript.pl/temat/3761-pomoc-z-zmiennymi/#findComment-32428 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Mroczny337 35 Opublikowano 21 października 2014 Udostępnij Opublikowano 21 października 2014 Spróbuj zrobić tak:&aGratulacje,&9 otrzymales %{@prezent6}% jako prezent!zamiast&aGratulacje,&9 otrzymales {@prezent6} jako prezent! Odnośnik do komentarza https://skript.pl/temat/3761-pomoc-z-zmiennymi/#findComment-32435 Udostępnij na innych stronach Więcej opcji udostępniania...
0 xNawi 55 Opublikowano 21 października 2014 Udostępnij Opublikowano 21 października 2014 mshehe: &aGratulacje,&9 otrzymales %{@prezent1}% jak0 prezent!prezent1: none prezent2: Stone prezent3: diamond prezent4: cobblestone prezent5: blaze rod prezent6: egg prezent7: egg albomshehe: &aGratulacje,&9 otrzymales jak prezent!prezent1: none prezent2: Stone prezent3: diamond prezent4: cobblestone prezent5: blaze rod prezent6: egg prezent7: egg send "%{@mshehe}%" Odnośnik do komentarza https://skript.pl/temat/3761-pomoc-z-zmiennymi/#findComment-32454 Udostępnij na innych stronach Więcej opcji udostępniania...
0 xNawi 55 Opublikowano 22 października 2014 Udostępnij Opublikowano 22 października 2014 hmmm wiem już o co ci chodzi:on rightclick with egg: if name of player's tool is "&6Jajko Heheheszk'owe": if {event.hehe} is true: cancel event remove 1 egg from player's tool chance of 5%: give {@prezent1} to player send "%{@mshehe1}%" chance of 5%: give {@prezent2} to player send "%{@mshehe2}%" chance of 5%: give {@prezent3} to player send "%{@mshehe3}%" chance of 5%: give {@prezent4} to player send "%{@mshehe4}%" chance of 5%: give {@prezent5} to player send "%{@mshehe5}%" chance of 5%: give {@prezent6} to player send "%{@mshehe6}%" chance of 5%: give {@prezent7} to player send "%{@mshehe7}%"options: mshehe1: &aGratulacje,&9 otrzymales {@prezent1} jako prezent! mshehe2: &aGratulacje,&9 otrzymales {@prezent2} jako prezent! mshehe3: &aGratulacje,&9 otrzymales {@prezent3} jako prezent! mshehe4: &aGratulacje,&9 otrzymales {@prezent4} jako prezent! mshehe5: &aGratulacje,&9 otrzymales {@prezent5} jako prezent! mshehe6: &aGratulacje,&9 otrzymales {@prezent6} jako prezent! mshehe7: &aGratulacje,&9 otrzymales {@prezent7} jako prezent! prezent1: none prezent2: Stone prezent3: diamond prezent4: cobblestone prezent5: blaze rod prezent6: egg prezent7: egg Odnośnik do komentarza https://skript.pl/temat/3761-pomoc-z-zmiennymi/#findComment-32470 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Nizax 6 Opublikowano 27 października 2014 Udostępnij Opublikowano 27 października 2014 @up opcje nie traktuje się tak samo jak zmienne jajko dobrze napisał np. send "{@mshehe7}" - jest poprawne.on rightclick with egg: if name of player's tool is "&6Jajko Heheheszk'owe": if {event.hehe} is true: cancel event remove 1 egg from player's tool set {_numer} to random integer between 0.5 and 7 #Czemu 0.5 zamiast 1 ? Bo wtedy praktycznie 1 nigdy Ci się nie wylosuje... give {@prezent%{_numer}%} to player send "{@mshehe}"options: mshehe: &aGratulacje,&9 otrzymales {@prezent%{_numer}%} jako prezent! prezent1: none prezent2: Stone prezent3: diamond prezent4: cobblestone prezent5: blaze rod prezent6: egg prezent7: eggMam nadzieję że dobrze zrozumiałem... Odnośnik do komentarza https://skript.pl/temat/3761-pomoc-z-zmiennymi/#findComment-33370 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
JaJkO 2
Jak to zrobić aby była jedna zmienna z tych prezent1 itp itd np zeby pisało na czacie
pomoże ktoś?
Odnośnik do komentarza
https://skript.pl/temat/3761-pomoc-z-zmiennymi/Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi