NorteX 16 Opublikowano 23 września 2017 Udostępnij Opublikowano 23 września 2017 (edytowane) Co tu jest nie tak? (istnieją 2 argumenty, 1 = <player>, 2 = <integer>) give %arg 2% dragon egg named "&5&lSMOCZE" with lore "&eLinijka||razy 2" to the %arg 1% Can't understand this condition effect: give 1.. bla bla.. UWAGA MÓWIĘ OD RAZU, ŻE COŚ JEST NIE TAK Z GIVEM, WSZYSTKO POZOSTAŁE JEST OK Pomocy Poprawiam błąd ortograficzny w tytule //Ewald Edytowane 24 września 2017 przez Ewald Odnośnik do komentarza https://skript.pl/temat/21738-niezrozumia%C5%82y-problem/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 LordYu 296 Opublikowano 23 września 2017 Udostępnij Opublikowano 23 września 2017 26 minut temu, NorteX napisał: Co tu jest nie tak? (istnieją 2 argumenty, 1 = <player>, 2 = <integer>) give %arg 2% dragon egg named "&5&lSMOCZE" with lore "&eLinijka||razy 2" to the %arg 1% Can't understand this condition effect: give 1.. bla bla.. UWAGA MÓWIĘ OD RAZU, ŻE COŚ JEST NIE TAK Z GIVEM, WSZYSTKO POZOSTAŁE JEST OK Pomocy Wyjaśnię Ci troszkę działanie skryptu %arg-1% dajesz tylko w kawałkach send "%arg-1/2%" to run "%arg-1%" etc, jak masz kod skryptu który nie jest pomiędzy " " to % nie używasz give arg-2 dragon egg named "&5&lSMOCZE" with lore "&eLinijka||razy 2" to the arg-1 jak nie podziała bo dawanie arg itemów jest kłopotliwe to użyj loop arg-2 times: give 1 dragon egg named "&5&lSMOCZE" with lore "&eLinijka||razy 2" to the arg-1 Odnośnik do komentarza https://skript.pl/temat/21738-niezrozumia%C5%82y-problem/#findComment-148047 Udostępnij na innych stronach Więcej opcji udostępniania...
0 NorteX 16 Opublikowano 24 września 2017 Autor Udostępnij Opublikowano 24 września 2017 (edytowane) command /pandora [<player>] [<int>]: permission: pandora.nortex trigger: if arg 1 is set: if arg 2 is set: give arg-2 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!" to the arg-1 send "&e%player% &adal ci %arg 2% &5&lPuszkek &d&lPandory&a!" else: give 1 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!" to the arg-1 send "&e%player% &adal ci 1 &5&lPuszke &d&lPandory&a!" else: give 1 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!" to the player send "&ePrzywolano ci puszke pandory!" command /rozdajpandore: permission: rozdajpandora.nortex trigger: give 1 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!" to all players broadcast "&4&lUWAGA!!!&4&lUWAGA!!! &4&lUWAGA!!! &4&lUWAGA!!!" broadcast "&5%player% &drozdal wszystkim po 1 puszce pandory!!" broadcast "&4&lUWAGA!!! &4&lUWAGA!!! &4&lUWAGA!!! &4&lUWAGA!!!"Kod prywatny, sprawa zamknięta Błędy: [14:05:19 ERROR]: 'arg 2 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!"' can't be added to a player because the former is neither an item type, an inventory nor an experience point (pandora.sk, line 6: give arg 2 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!" to the arg 1') [14:05:19 ERROR]: '1 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!"' can't be added to a player because the former is neither an item type, an inventory nor an experience point (pandora.sk, line 9: give 1 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!" to the arg 1') [14:05:19 ERROR]: '1 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!"' can't be added to a player because the former is neither an item type, an inventory nor an experience point (pandora.sk, line 12: give 1 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!" to the player') [14:05:19 ERROR]: '1 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!"' can't be added to a player because the former is neither an item type, an inventory nor an experience point (pandora.sk, line 18: give 1 dragon egg named "&5&lPuszka &d&lPandory" with lore "&ePoloz na ziemi||&eby otworzyc legendarna skrzynke!" to all players') [14:05:19 INFO]: [Skript] Encountered 4 errors while reloading pandora.sk! Zamykam, problem sam rozwiązałem... Edytowane 24 września 2017 przez Ewald Przywracam treść posta. Odnośnik do komentarza https://skript.pl/temat/21738-niezrozumia%C5%82y-problem/#findComment-148086 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Gość Ewald Opublikowano 24 września 2017 Udostępnij Opublikowano 24 września 2017 Problem został rozwiązany. Odnośnik do komentarza https://skript.pl/temat/21738-niezrozumia%C5%82y-problem/#findComment-148092 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
NorteX 16
Co tu jest nie tak?
(istnieją 2 argumenty, 1 = <player>, 2 = <integer>)
give %arg 2% dragon egg named "&5&lSMOCZE" with lore "&eLinijka||razy 2" to the %arg 1%
Can't understand this condition effect: give 1.. bla bla..
UWAGA MÓWIĘ OD RAZU, ŻE COŚ JEST NIE TAK Z GIVEM, WSZYSTKO POZOSTAŁE JEST OK
Pomocy
Poprawiam błąd ortograficzny w tytule //Ewald
Edytowane przez EwaldOdnośnik do komentarza
https://skript.pl/temat/21738-niezrozumia%C5%82y-problem/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi