dragacz123 1 Opublikowano 25 czerwca 2018 Udostępnij Opublikowano 25 czerwca 2018 Witam otóż mam problem z skryptem na excalibur wyskakują błędy . Pomóżcie . BŁĘDY: https://tinypic.pl/c0mzw5udb2j9 SKRYPT: https://code.skript.pl/vF0EJyLO Cytuj Odnośnik do komentarza https://skript.pl/temat/27884-b%C5%82%C4%85d-skryptu-excalibur/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 Gość ZiemniaQ Opublikowano 25 czerwca 2018 Udostępnij Opublikowano 25 czerwca 2018 A co ta funkcja tam porabia XD on death: name of attacker's tool is "&e&oExcalibur": victim is a player: set {_s} to 2nd line of lore of attacker's tool set {_k} to subtext of {_s} from character 18 to (the length of {_s}) set {_k} to {_k} parsed as number add 1 to {_k} set the 2nd line of lore of attacker's tool to "&rPlayers Killed: %{_k}%" on damage: name of attacker's tool is "&e&oExcalibur": apply strength 6 to attacker for 3 seconds command /dajmiecz: trigger: if player can hold 1 diamond sword: give 1 of diamond sword named "&e&oExcalibir" with lore "&6&oDescription&e&o: &rWlasnosc %displayname of player%||&rPlayers Killed: 0||&rStrange Weapon ##17" to player else: drop 1 of diamond sword named "&e&oExcalibur" with lore "&6&oDescription&e&o: &rWlasnosc %displayname of player%||&rPlayers Killed: 0||&rStrange Weapon ##17" at player Cytuj Odnośnik do komentarza https://skript.pl/temat/27884-b%C5%82%C4%85d-skryptu-excalibur/#findComment-184780 Udostępnij na innych stronach Więcej opcji udostępniania...
0 dragacz123 1 Opublikowano 27 czerwca 2018 Autor Udostępnij Opublikowano 27 czerwca 2018 W dniu 25.06.2018 o 22:07, LuckyPotato napisał: A co ta funkcja tam porabia XD on death: name of attacker's tool is "&e&oExcalibur": victim is a player: set {_s} to 2nd line of lore of attacker's tool set {_k} to subtext of {_s} from character 18 to (the length of {_s}) set {_k} to {_k} parsed as number add 1 to {_k} set the 2nd line of lore of attacker's tool to "&rPlayers Killed: %{_k}%" on damage: name of attacker's tool is "&e&oExcalibur": apply strength 6 to attacker for 3 seconds command /dajmiecz: trigger: if player can hold 1 diamond sword: give 1 of diamond sword named "&e&oExcalibir" with lore "&6&oDescription&e&o: &rWlasnosc %displayname of player%||&rPlayers Killed: 0||&rStrange Weapon ##17" to player else: drop 1 of diamond sword named "&e&oExcalibur" with lore "&6&oDescription&e&o: &rWlasnosc %displayname of player%||&rPlayers Killed: 0||&rStrange Weapon ##17" at player Błędy: https://tinypic.pl/98j2lidd98i9 Cytuj Odnośnik do komentarza https://skript.pl/temat/27884-b%C5%82%C4%85d-skryptu-excalibur/#findComment-185008 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Gość ZiemniaQ Opublikowano 27 czerwca 2018 Udostępnij Opublikowano 27 czerwca 2018 Tą wersję pluginu masz? dev36? https://github.com/SkriptLang/Skript/releases Cytuj Odnośnik do komentarza https://skript.pl/temat/27884-b%C5%82%C4%85d-skryptu-excalibur/#findComment-185011 Udostępnij na innych stronach Więcej opcji udostępniania...
0 dragacz123 1 Opublikowano 27 czerwca 2018 Autor Udostępnij Opublikowano 27 czerwca 2018 A ten skrypt zadziała na wersje starszą czy tylko na nową serwera Cytuj Odnośnik do komentarza https://skript.pl/temat/27884-b%C5%82%C4%85d-skryptu-excalibur/#findComment-185012 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Patryk Eloz 2 Opublikowano 28 czerwca 2018 Udostępnij Opublikowano 28 czerwca 2018 (edytowane) Masz tu trochę poprawioną wersję Testowane na wersji serwera: PaperSpigot 1.8.8 Testowane na pluginach: SkQuery, WildSkript, skRayFall+v1.9.12 i oczywiście Skript variables: {stattrack} = 0 on death: name of attacker's tool is "&e&oExcalibur": victim is a player: set {_s} to 2nd line of lore of attacker's tool set {_k} to subtext of {_s} from character 18 to (the length of {_s}) set {_k} to {_k} parsed as number add 1 to {_k} set the 2nd line of lore of attacker's tool to "&rPlayers Killed: %{_k}%" on damage: name of attacker's tool is "&e&oExcalibur": wait a tick remove strength from attacker apply strength 6 to attacker for 3 seconds command /dajmiecz [<text>]: trigger: player has permission "excalibur.dajmiecz": if player can hold 1 diamond sword: add 1 to {stattrack} give 1 of diamond sword named "&e&oExcalibur" with lore "&6&oDescription&e&o: &rWlasnosc %displayname of player%||&rPlayers Killed: 0||&rStrange Weapon ##%{stattrack}%" to player else: add 1 to {stattrack} drop 1 of diamond sword named "&e&oExcalibur" with lore "&6&oDescription&e&o: &rWlasnosc %displayname of player%||&rPlayers Killed: 0||&rStrange Weapon ##%{stattrack}%" at player else: send "&4&lBLAD: &cNie masz permisji, aby wykonac to polecenie!" Edytowane 28 czerwca 2018 przez Vylence formatowanie na ciemnym stylu (╯°□°)╯︵ ┻━┻ Cytuj Odnośnik do komentarza https://skript.pl/temat/27884-b%C5%82%C4%85d-skryptu-excalibur/#findComment-185099 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
dragacz123 1
Witam otóż mam problem z skryptem na excalibur wyskakują błędy . Pomóżcie .
BŁĘDY: https://tinypic.pl/c0mzw5udb2j9
SKRYPT: https://code.skript.pl/vF0EJyLO
Odnośnik do komentarza
https://skript.pl/temat/27884-b%C5%82%C4%85d-skryptu-excalibur/Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.