Crave 0 Opublikowano 6 sierpnia 2019 Udostępnij Opublikowano 6 sierpnia 2019 (edytowane) Potrzebuje skrypt na cobblex oraz random tp na guzik. Wersja 1.14.4 spigot Edytowane 6 sierpnia 2019 przez Kurotsuwa Modyfikuje tytuł, aby streszczał zawartość. Notatka dodana przez Kurotsuwa Odnośnik do komentarza https://skript.pl/temat/34301-potrzebuje-skrypt-na-cobblex-oraz-random-tp-na-guzik/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 xAxee 1968 Opublikowano 6 sierpnia 2019 Udostępnij Opublikowano 6 sierpnia 2019 on load: set {item} to mossy cobblestone named "&6Cobblex" clear {cx::*} #Dodawanie itemow do dropu add diamond to {cx::*} add gold ingot to {cx::*} add 8 of gold ingot to {cx::*} add iron ingot to {cx::*} add 8 of iron ingot to {cx::*} add golden apple to {cx::*} command /cbx [<text>]: trigger: if player has 9*64 of cobblestone: remove 9*64 of cobblestone from player add {item} to player send "&7Stworzyles cobblex!" else: send "&7Nie masz &a9*64 cobbla!" on place: if player's tool is {item}: set event-block to air drop ("%random element out of {cx::*}%" parsed as item) at event-block send "&7Otworzyles cx!" OneXakaGracu i Rejszpat 2 Odnośnik do komentarza https://skript.pl/temat/34301-potrzebuje-skrypt-na-cobblex-oraz-random-tp-na-guzik/#findComment-220843 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Gość ZiemniaQ Opublikowano 6 sierpnia 2019 Udostępnij Opublikowano 6 sierpnia 2019 (edytowane) function getRandomLoc(xmin: integer=-1000, xmax: integer=1000, zmin: integer=-1000, zmax: integer=1000, world: text="world") :: location: while {_return} is not set: set {_x} to random integer between {_xmin} and {_xmax} set {_z} to random integer between {_zmin} and {_zmax} set {_loc} to highest block at location at {_x}, 0, {_z} in world ({_world} parsed as world) if block at {_loc} != water or lava: set {_return} to {_loc} add 1 to y-loc of {_return} return {_return} on rightclick on stone button: teleport player to getRandomLoc(-10000, 10000, -10000, 10000, "twój_świat") #argumenty funkcji: #minimalna wspólrzędna x #maksymalna wspólrzędna x #minimalna wspólrzędna z #maksymalna wspólrzędna z #nazwa świata Edytowane 6 sierpnia 2019 przez ZiemniaQ Ziemniaki Odnośnik do komentarza https://skript.pl/temat/34301-potrzebuje-skrypt-na-cobblex-oraz-random-tp-na-guzik/#findComment-220845 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Crave 0 Opublikowano 6 sierpnia 2019 Autor Udostępnij Opublikowano 6 sierpnia 2019 55 minut temu, xAxee napisał: on load: set {item} to mossy cobblestone named "&6Cobblex" clear {cx::*} #Dodawanie itemow do dropu add diamond to {cx::*} add gold ingot to {cx::*} add 8 of gold ingot to {cx::*} add iron ingot to {cx::*} add 8 of iron ingot to {cx::*} add golden apple to {cx::*} command /cbx [<text>]: trigger: if player has 9*64 of cobblestone: remove 9*64 of cobblestone from player add {item} to player send "&7Stworzyles cobblex!" else: send "&7Nie masz &a9*64 cobbla!" on place: if player's tool is {item}: set event-block to air drop ("%random element out of {cx::*}%" parsed as item) at event-block send "&7Otworzyles cx!" jak mam przywolac ? Dzięki Łączę. Notatka dodana przez Kurotsuwa Odnośnik do komentarza https://skript.pl/temat/34301-potrzebuje-skrypt-na-cobblex-oraz-random-tp-na-guzik/#findComment-220852 Udostępnij na innych stronach Więcej opcji udostępniania...
0 xAxee 1968 Opublikowano 6 sierpnia 2019 Udostępnij Opublikowano 6 sierpnia 2019 @Crave /cbx Odnośnik do komentarza https://skript.pl/temat/34301-potrzebuje-skrypt-na-cobblex-oraz-random-tp-na-guzik/#findComment-220854 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Crave 0 Opublikowano 6 sierpnia 2019 Autor Udostępnij Opublikowano 6 sierpnia 2019 Godzinę temu, LuckyPotato napisał: function getRandomLoc(xmin: integer=-1000, xmax: integer=1000, zmin: integer=-1000, zmax: integer=1000, world: text="world") :: location: while {_return} is not set: set {_x} to random integer between {_xmin} and {_xmax} set {_z} to random integer between {_zmin} and {_zmax} set {_loc} to highest block at location at {_x}, 0, {_z} in world ({_world} parsed as world) if block at {_loc} != water or lava: set {_return} to {_loc} add 1 to y-loc of {_return} return {_return} on rightclick on stone button: teleport player to getRandomLoc(-10000, 10000, -10000, 10000, "twój_świat") #argumenty funkcji: #minimalna wspólrzędna x #maksymalna wspólrzędna x #minimalna wspólrzędna z #maksymalna wspólrzędna z #nazwa świata Nie dziala cos nie wazne / do zamkniecia Łączę. Notatka dodana przez Kurotsuwa Odnośnik do komentarza https://skript.pl/temat/34301-potrzebuje-skrypt-na-cobblex-oraz-random-tp-na-guzik/#findComment-220855 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Kurotsuwa 149 Opublikowano 6 sierpnia 2019 Udostępnij Opublikowano 6 sierpnia 2019 Ten temat został zamknięty. Odnośnik do komentarza https://skript.pl/temat/34301-potrzebuje-skrypt-na-cobblex-oraz-random-tp-na-guzik/#findComment-220857 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
Crave 0
Potrzebuje skrypt na cobblex oraz random tp na guzik.
Wersja 1.14.4 spigot
Edytowane przez KurotsuwaModyfikuje tytuł, aby streszczał zawartość.
Notatka dodana przez Kurotsuwa
Odnośnik do komentarza
https://skript.pl/temat/34301-potrzebuje-skrypt-na-cobblex-oraz-random-tp-na-guzik/Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi