Vineroy 63 Opublikowano 6 czerwca 2017 Udostępnij Opublikowano 6 czerwca 2017 Czesc czemu po komendzie /warp enchant daje mi itemy które ustawiłem a jak zrobie warpy w gui i klikne to już mi nie daje itemów a tepa na warp enchant? Pomoże ktoś? daje naj! Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 puun 7 Opublikowano 6 czerwca 2017 Udostępnij Opublikowano 6 czerwca 2017 Pokaż kod. Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/#findComment-129152 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Vineroy 63 Opublikowano 6 czerwca 2017 Autor Udostępnij Opublikowano 6 czerwca 2017 To gui (to nie działa): https://code.skript.pl/ItK6HlOm/ A tu normalne że po dołączeniu (to działa): https://code.skript.pl/lCZfc94Y/ Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/#findComment-129153 Udostępnij na innych stronach Więcej opcji udostępniania...
0 LordYu 296 Opublikowano 6 czerwca 2017 Udostępnij Opublikowano 6 czerwca 2017 Bo komendę wykonuje konsola a nie gracz, gdzie masz dawanie itemu dajesz je obiektowi który wpisuje komendę a w tym wypadku jest to konsola tutaj zamiast PLAYER daj arg-1 / argument / arg1 on command "/warp enchant": give diamond sword of sharpness 5 and unbreaking 3 to the arg1 give diamond helmet of protection 4 and unbreaking 3 to the arg1 give diamond chestplate of protection 4 and unbreaking 3 to the arg1 give diamond leggings of protection 4 and unbreaking 3 to the arg1 give diamond boots of protection 4 and unbreaking 3 to the arg1 powinno załapać, choć wątpię, lepiej jak dodasz do GUI od razu dawanie itemów on right click: if player's tool is clock: if name of player's tool is "&4&lKlikaj": open chest with 3 rows named "Areny" to players wait 1 tick format slot 10 of player with 1 of stone named "Arena knock" to run "teleportuj enchant %player%" format slot 9 of player with 1 of stone named "Arena TEST" to run "teleportuj TEST %player%" command /teleportuj enchant <player>: executable by: console trigger: execute console command "warp enchant %arg1%" give diamond sword of sharpness 5 and unbreaking 3 to the arg1 give diamond helmet of protection 4 and unbreaking 3 to the arg1 give diamond chestplate of protection 4 and unbreaking 3 to the arg1 give diamond leggings of protection 4 and unbreaking 3 to the arg1 give diamond boots of protection 4 and unbreaking 3 to the arg1 nie podałem jak ty "to run "warp enchant %plasyer%"" bo chcę wykonać inną komendę która doda nam itemy i przeteleportuje więc stworzyłem dodatkową komendę którą wykona tylko konsola, konsola przeteleportuje gracza na dany warp (komenda z ESS) i da itemki Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/#findComment-129158 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Vineroy 63 Opublikowano 6 czerwca 2017 Autor Udostępnij Opublikowano 6 czerwca 2017 (edytowane) Ok dzięki a zrobisz że po wejściu na warp'a usuwa wszystkie itemy i dodaje te które są ustawione? I jeszcze zrób jak możesz że po wpisaniu komendy /spawn usuwa wszystkie itemy gracza i dodaje mu dane itemy już mam itemy przygotowane i sobie je sam wkleje z góry dzieki! @JPablo Edytowane 6 czerwca 2017 przez Vineroy Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/#findComment-129161 Udostępnij na innych stronach Więcej opcji udostępniania...
0 LordYu 296 Opublikowano 6 czerwca 2017 Udostępnij Opublikowano 6 czerwca 2017 do usuwania dodaj po prostu linijkę kodu execute console command "ci %arg1%" < jeżeli to GUI execute console command "ci %player%" < jeżeli to zwykłą komenda wpisywana przez gracza Itemy już masz, po kliknięciu czegoś w GUI co ustawiłeś, konsola wykona komendę "teleportuj ..." komenda teleportuj zawiera 2 rzeczy, teleportuje na dany warp + daje itemy twój pomysł wyglądałby tak on right click: if player's tool is clock: if name of player's tool is "&4&lKlikaj": open chest with 3 rows named "Areny" to players wait 1 tick format slot 10 of player with 1 of stone named "Arena knock" to run "teleportuj enchant %player%" format slot 9 of player with 1 of stone named "Arena TEST" to run "teleportuj TEST %player%" command /teleportuj enchant <player>: executable by: console trigger: execute console command "clearinventory %arg1" execute console command "warp enchant %arg1%" give diamond sword of sharpness 5 and unbreaking 3 to the arg1 give diamond helmet of protection 4 and unbreaking 3 to the arg1 give diamond chestplate of protection 4 and unbreaking 3 to the arg1 give diamond leggings of protection 4 and unbreaking 3 to the arg1 give diamond boots of protection 4 and unbreaking 3 to the arg1 Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/#findComment-129162 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Vineroy 63 Opublikowano 6 czerwca 2017 Autor Udostępnij Opublikowano 6 czerwca 2017 Ok wszystko działa! Zrobisz jeszcze z spawn ? że po wpisaniu /spawn czyści graczu ekwipunek i dodaje mu dane itemy A jakie itemy to już sobie ustawie @JPablo Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/#findComment-129163 Udostępnij na innych stronach Więcej opcji udostępniania...
0 KrejzolekPRO 600 Opublikowano 6 czerwca 2017 Udostępnij Opublikowano 6 czerwca 2017 17 minut temu, Vineroy napisał: Ok wszystko działa! Zrobisz jeszcze z spawn ? że po wpisaniu /spawn czyści graczu ekwipunek i dodaje mu dane itemy A jakie itemy to już sobie ustawie @JPablo on command "spawn": clear player's inventory LordYu 1 Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/#findComment-129166 Udostępnij na innych stronach Więcej opcji udostępniania...
0 LordYu 296 Opublikowano 6 czerwca 2017 Udostępnij Opublikowano 6 czerwca 2017 Tak jak up A jak masz w GUI spawn to zrób tak: on right click: if player's tool is clock: if name of player's tool is "&4&lKlikaj": open chest with 3 rows named "Areny" to players wait 1 tick format slot 10 of player with 1 of stone named "Arena knock" to run "teleportuj enchant %player%" format slot 9 of player with 1 of stone named "Arena TEST" to run "teleportuj SPAWN %player%" command /teleportuj enchant <player>: executable by: console trigger: execute console command "clearinventory %arg1" execute console command "warp enchant %arg1%" give diamond sword of sharpness 5 and unbreaking 3 to the arg1 give diamond helmet of protection 4 and unbreaking 3 to the arg1 give diamond chestplate of protection 4 and unbreaking 3 to the arg1 give diamond leggings of protection 4 and unbreaking 3 to the arg1 give diamond boots of protection 4 and unbreaking 3 to the arg1 command /teleportuj spawn <player>: executable by: console trigger: execute console command "clearinventory %arg1" execute console command "spawn %arg1%" Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/#findComment-129167 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Vineroy 63 Opublikowano 6 czerwca 2017 Autor Udostępnij Opublikowano 6 czerwca 2017 Ok wszystko działa @JPablo Jak coś bd mógł pisać na pw? @KrejzolekPRO Też dzięki! LordYu 1 Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/#findComment-129168 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 6 czerwca 2017 Udostępnij Opublikowano 6 czerwca 2017 Ten temat został zamknięty. Odnośnik do komentarza https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/#findComment-129174 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
Vineroy 63
Czesc czemu po komendzie /warp enchant daje mi itemy które ustawiłem
a jak zrobie warpy w gui i klikne to już mi nie daje itemów a tepa na warp enchant?
Pomoże ktoś?
daje naj!
Odnośnik do komentarza
https://skript.pl/temat/18938-czemu-tu-daje-a-tu-nie/Udostępnij na innych stronach
10 odpowiedzi na to pytanie
Rekomendowane odpowiedzi