Uzi 20 Opublikowano 22 sierpnia 2019 Udostępnij Opublikowano 22 sierpnia 2019 Witam, Poprosiłbym o skrypt na teleportację po śmierci w dane miejsce. Oczywiście abym mógł ustawić je za pomocą komendy /ustawsmierc. Z góry dziekuję i odwdzięczę się reputacją Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 MrMarker98 4 Opublikowano 22 sierpnia 2019 Udostępnij Opublikowano 22 sierpnia 2019 Chyba coś takiego by poszło: command /ustawsmierc: trigger: set {_xyz.%player%} to location of player send "&8> &6Ustawiono lokacje do teleportacji po śmierci." on respawn: if {_xyz.%player%} is set: wait 1 tick teleport player to {_xyz.%player%} else: stop Ale w essentials możesz zwykłe /back po śmierci wpisać Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 Uzi 20 Opublikowano 22 sierpnia 2019 Autor Udostępnij Opublikowano 22 sierpnia 2019 20 minut temu, MrMarker98 napisał: Chyba coś takiego by poszło: command /ustawsmierc: trigger: set {_xyz.%player%} to location of player send "&8> &6Ustawiono lokacje do teleportacji po śmierci." on respawn: if {_xyz.%player%} is set: wait 1 tick teleport player to {_xyz.%player%} else: stop Ale w essentials możesz zwykłe /back po śmierci wpisać Niestety nie teleportuje ;/ Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 bludis 418 Opublikowano 22 sierpnia 2019 Udostępnij Opublikowano 22 sierpnia 2019 command /ustawmiejsce [<text>]: trigger: set {deadlocation} to location of player send "&aPoprawnie ustawiono lokacje." to player stop on respawn: if {deadlocation} is set: wait 15 tick teleport player to {deadlocation} send "&aZginales, ale pojawiles sie na miejscu wybranym przez Administratora." to player else: stop Uzi 1 Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 Uzi 20 Opublikowano 22 sierpnia 2019 Autor Udostępnij Opublikowano 22 sierpnia 2019 49 minut temu, LjayPL789 napisał: command /ustawmiejsce [<text>]: trigger: set {deadlocation} to location of player send "&aPoprawnie ustawiono lokacje." to player stop on respawn: if {deadlocation} is set: wait 15 tick teleport player to {deadlocation} send "&aZginales, ale pojawiles sie na miejscu wybranym przez Administratora." to player else: stop [18:40:20] [Server thread/INFO]: [Skript][m Reloading aw.sk[m... [18:40:20] [Server thread/ERROR]: "set {_y} 256" is not a boolean (yes/no) (aw.sk, line 8: set {_y} 256") [18:40:20] [Server thread/ERROR]: Use "attacker" and/or "victim" in damage events (aw.sk, line 18: if {randomtp::god::%player%} is true:") [18:40:20] [Server thread/INFO]: [Skript][m Encountered 2 errors while reloading aw.sk[m! Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 bludis 418 Opublikowano 22 sierpnia 2019 Udostępnij Opublikowano 22 sierpnia 2019 W tej zmiennej z on damage: %player% zamień na %victim% i zamień tą linijke z 1 błędu na set {_y} to 256 Uzi 1 Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 Uzi 20 Opublikowano 22 sierpnia 2019 Autor Udostępnij Opublikowano 22 sierpnia 2019 4 minuty temu, LjayPL789 napisał: W tej zmiennej z on damage: %player% zamień na %victim% i zamień tą linijke z 1 błędu na set {_y} to 256 Sry pomyliłem skrypty i błędy: [18:38:38] [Server thread/INFO]: �[�Skript�]�[m Reloading �smierc.sk�[m...� [18:38:38] [Server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (smierc.sk, line 3: set {deadlocation} to location of player") [18:38:38] [Server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (smierc.sk, line 4: send "&aPoprawnie ustawiono lokacje." to player") [18:38:38] [Server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (smierc.sk, line 5: stop") [18:38:38] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don"t want this line to start a section. (smierc.sk, line 2: trigger:") [18:38:38] [Server thread/INFO]: �[�Skript�]�[m �Encountered 3 errors while reloading �smierc.sk�[m!� Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 bludis 418 Opublikowano 22 sierpnia 2019 Udostępnij Opublikowano 22 sierpnia 2019 Wytabować chyba umiesz Uzi 1 Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 xAxee 1 951 Opublikowano 22 sierpnia 2019 Udostępnij Opublikowano 22 sierpnia 2019 (edytowane) 34 minuty temu, Uzi napisał: Sry pomyliłem skrypty i błędy: [18:38:38] [Server thread/INFO]: �[�Skript�]�[m Reloading �smierc.sk�[m...� [18:38:38] [Server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (smierc.sk, line 3: set {deadlocation} to location of player") [18:38:38] [Server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (smierc.sk, line 4: send "&aPoprawnie ustawiono lokacje." to player") [18:38:38] [Server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (smierc.sk, line 5: stop") [18:38:38] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don"t want this line to start a section. (smierc.sk, line 2: trigger:") [18:38:38] [Server thread/INFO]: �[�Skript�]�[m �Encountered 3 errors while reloading �smierc.sk�[m!� command /ustawmiejsce [<text>]: trigger: set {deadlocation} to location of player send "&aPoprawnie ustawiono lokacje." to player on respawn: if {deadlocation} is set: wait 15 tick teleport player to {deadlocation} send "&aZginales, ale pojawiles sie na miejscu wybranym przez Administratora." to player a nie to sortowanie... najlepsza odpowiedz do gory pposzla i nie zauwazylem xd sorka Edytowane 22 sierpnia 2019 przez xAxee Uzi 1 Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 Kurotsuwa 149 Opublikowano 22 sierpnia 2019 Udostępnij Opublikowano 22 sierpnia 2019 Problem został rozwiązany. Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
Uzi 20
Witam,
Poprosiłbym o skrypt na teleportację po śmierci w dane miejsce.
Oczywiście abym mógł ustawić je za pomocą komendy /ustawsmierc.
Z góry dziekuję i odwdzięczę się reputacją
Odnośnik do komentarza
Udostępnij na innych stronach
9 odpowiedzi na to pytanie
Rekomendowane odpowiedzi