Wariat25
Użytkownik-
Ilość zawartości
85 -
Rejestracja
-
Ostatnia wizyta
Treść opublikowana przez Wariat25
-
Tylko ze ja mam takie zmienne nie wiem czy to zadziala bo wolalbym tak po mojemu wiesz o co chodzi command /tpa [<text>]: trigger: if arg 1 is player: send "&4Blad: &cNie mozesz teleportowac sie do samego siebie!" stop if arg 1 is not set: send "&4Blad: &cMusisz podac nick!" stop set {_arg1} to arg 1 set {_arg1} to {_arg1} parsed as offlineplayer if {_arg1} is online: send "&8» &6%player% &7prosi o teleportacje do ciebie" to {_arg1} send "&8» &7Aby zaakceptowac teleportacje wpisz &6/tpaccept" to {_arg1} send "&8» &7Aby odrzucic teleportacje wpisz &6/tpdeny" to {_arg1} send "&8» &7Wyslales prosbe o teleportacje do &6%{_arg1}%" set {tpa::%{_arg1}%::sendAsk} to name of player set {tpa::%player%::toTeleport} to {_arg1} stop if {_arg1} is offline: send "&4Blad: &6%{_arg1}% &cNie jest na serwerze!" stop
-
on respawn: teleport player to spawn on damage of player: wait 1 tick if victim's health is between 0 and 0.3: heal victim clear the victim's inventory remove poison from victim remove nausea from victim remove resistance from victim remove speed from victim remove strength from victim remove absorption from victim remove fire resistance from victim remove regeneration from victim set slot 0 of victim's inventory to stone pickaxe of efficiency 5 set slot 5 of victim's inventory to ender chest teleport victim to spawn wait 1 tick kick victim due to "&fWejdz ponownie na serwer!" trzymaj, z mojego starego kodu.
- 7 odpowiedzi
-
gdy gracz zaakceptuje tp pisze ze teleport przerwany, ten caly sk jest zbugowany w sensie te title i nie tylko moglbys to naprawić? prosze
-
[20:39:14 ERROR]: '<...>< 0.2' can only accept a single object, not more (test.sk, line 117: while difference between {_p}'s location and {_loc2} =< 0.2:')
-
Nie mam zbytnio pojecią jak to umiescic w kodzie moglbys to zrobić? bo jak dam tak to nie zbyt to ciekawie wyglada i bedzie zbugowane xD command /tpaccept [<text>]: trigger: if {tpa::%player%::sendAsk} is set: set {_p} to {tpa::%player%::sendAsk} set {_p} to {_p} parsed as offlineplayer if {_p} is online: set {_x} to 5 loop {_x} times: send {_p} title "&2&lTELEPORTACJA" with subtitle "&7Teleportacja nastapi za: &c%{_x}% &7sekund" for 2 seconds remove 1 from {_x} wait 1 second send "&8» &6%player% &7zaakceptowal twoja teleportacje" to {_p} send "&8» &7Teleportacja za &610&7 sekund nie, ruszaj sie" to {_p} send "&8» &7Zaakceptowales prosbe o teleportacje od &6%{_p}%" clear {tpa::%{_p}%::toTeleport} clear {tpa::%player%::toTeleport} clear {tpa::%{_p}%::sendAsk} clear {tpa::%player%::sendAsk} set {_x} to x-location of {_p} set {_y} to y-location of {_p} set {_z} to z-location of {_p} loop 4 times: if difference between x-location of {_p} and {_x} is larger than 0.5: send {_p} title "&2&lTeleportacja" with subtitle "&7Teleport przerwany" for 1 seconds stop if difference between y-location of {_p} and {_y} is larger than 0.5: send {_p} title "&2&lTeleportacja" with subtitle "&7Teleport przerwany" for 1 seconds stop if difference between z-location of {_p} and {_z} is larger than 0.5: send {_p} title "&2&lTeleportacja" with subtitle "&7Teleport przerwany" for 1 seconds stop wait 1 second teleport {_p} to player send player title "&2&lTeleportaja" with subtitle "&7Teleportacja przebiegla pomyslnie" for 1 seconds stop clear {tpa::%{_p}%::toTeleport} clear {tpa::%player%::toTeleport} clear {tpa::%{_p}%::sendAsk} clear {tpa::%player%::sendAsk} send "&4Blad: &cNie masz prosby o teleportacje" stop send "&4Blad: &cNie masz prosby o teleportacje"
-
https://www.youtube.com/channel/UCjXGjn_MII0TYwZL_rtDeMw?view_as=subscriber pisz pw jak cos
-
Witam, prosze o dodanie odliczania w titlu ze np. teleport nastapi za: 5 4 3 2 1 0 ... command /tpaccept [<text>]: trigger: if {tpa::%player%::sendAsk} is set: set {_p} to {tpa::%player%::sendAsk} set {_p} to {_p} parsed as offlineplayer if {_p} is online: send {_p} title "&2&lTELEPORTACJA" with subtitle "&7Teleportacja nastapi za: &c5 &7sekund" for 1 seconds send "&8» &6%player% &7zaakceptowal twoja teleportacje" to {_p} send "&8» &7Teleportacja za &610&7 sekund nie, ruszaj sie" to {_p} send "&8» &7Zaakceptowales prosbe o teleportacje od &6%{_p}%" clear {tpa::%{_p}%::toTeleport} clear {tpa::%player%::toTeleport} clear {tpa::%{_p}%::sendAsk} clear {tpa::%player%::sendAsk} set {_x} to x-location of {_p} set {_y} to y-location of {_p} set {_z} to z-location of {_p} loop 4 times: if difference between x-location of {_p} and {_x} is larger than 0.5: send {_p} title "&2&lTeleportacja" with subtitle "&7Teleport przerwany" for 1 seconds stop if difference between y-location of {_p} and {_y} is larger than 0.5: send {_p} title "&2&lTeleportacja" with subtitle "&7Teleport przerwany" for 1 seconds stop if difference between z-location of {_p} and {_z} is larger than 0.5: send {_p} title "&2&lTeleportacja" with subtitle "&7Teleport przerwany" for 1 seconds stop wait 1 second teleport {_p} to player send player title "&2&lTeleportaja" with subtitle "&7Teleportacja przebiegla pomyslnie" for 1 seconds stop clear {tpa::%{_p}%::toTeleport} clear {tpa::%player%::toTeleport} clear {tpa::%{_p}%::sendAsk} clear {tpa::%player%::sendAsk} send "&4Blad: &cNie masz prosby o teleportacje" stop send "&4Blad: &cNie masz prosby o teleportacje"
-
Do tego trzeba dodać jakis poczatek np. every 10 second, zrobilem tak ale: [18:50:41 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (4.sk, line 106: if leggings of player is diamond leggings:') [18:50:41 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (4.sk, line 110: if chestplate of player is diamond chestplate:') [18:50:41 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (4.sk, line 114: if boots of player is diamond boots:') [18:50:41 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (4.sk, line 118: if helmet of player is diamond helmet:') mozesz mi to zrobic?
-
A no dobra, dzieki przetestuje i dam znac A jak zrobić ze w gui w lore bedzie liczba ile jest graczy? bo "%size of spawnPlayers()%" nie dziala ;< //edit dziala do zamkniecia dzieki!
-
dzieki do zamkniecia
-
Witam, mam taki problem w skrypcie na turbodrop mianowicie gdy gracz wyjdzie z serwera i wejdzie po 30 minutach ma taki sam czas gdy wychodził, nie usuwa po prostu czasu turbodropu gdy gracza nie ma na serwerze, problem jest z tym on every seconds: loop all players: if {turbodrop} > 0: set action bar of loop-player to "&7( &3&lObecnie trwa: &6&lTurboDrop %getTime({turbodrop})%)" remove 1 from {turbodrop} if "%inventory name of loop-player's current inventory%" is "&2&lDrop z kamienia!": set loop-player's current inventory's slot 34 to diamond pickaxe named "&8» &6&lTurbo&e&lDrop &8«" with lore "&8» &7Status: &2Wlaczony||&8» &7Zakonczy sie za: %getTime({turbodrop})%" wait 1 seconds if {turbodrop} = 0: stop prosze o pomoc z tym z góry dzieki!
-
[16:57:36 ERROR]: There's no loop that matches 'loop-player is within {_locMin} and {_locMax}' (12.sk, line 511: if location of loop-player is within {_locMin} and {_locMax}:') No dobrze ale gdzie jest rozmiar np. spawnu?
-
Pobierałem pare 2.2 ale gdy pisalem cokolwiek z /sk to pisalo jedynie "/skript help" XD moglbys podac link do swojej 2.2 na 1.8?
-
2 2.2-Fixes-V10
-
[16:37:19 ERROR]: The 1st argument's definition is invalid. It should look like 'name: type' or 'name: type = default value'. (12.sk, line 502: function getSpawnPlayers() :: number:') [16:37:19 ERROR]: The function 'getSpawnPlayers' does not exist (12.sk, line 514: send "Na spawnie jest %getSpawnPlayers()% osˇb"')
-
Mam wszystkie dodatki, skript raczej tez jest dobry ale poprobuje na innych wersjach dziwne jest to ze na jednym koncie sie da na drugim sie nie da
-
Witam, jest mozliwosc "zloopowania" wszystkich graczy na spawnie poprzez skrypt? np. jest powiedzmy 10 osob na serwerze, a 5 na spawn (spawn ma 75x75 np.) i chcialbym ze gdy wpisze /spawn bedzie event send "Na spawnie znajduje sie: {LudzieZeSpawnaXD} graczy" to player fajnie by bylo gdyby ktoś mi to zrobił
-
Witam, na glownym koncie moge otwierac "zdrapki" (skrypt ) wbilem na drugim koncie dalem sobie zdrapki i gdy naciskam PPM nie da sie ich otworzyc a w consoli wyskakuje takie cos: prosze o pomoc bo nie wiem co zrobic, zaden nowy gracz nie bedzie mogl otwierac zdrapek;cc //edit w console jest takie cos gdy sie uda zrobic opening (glowne konto) skrypt na te zdrapki mniejwiecej wyglada tak: on right click: if player's tool is paper: wait 1 ticks open chest with 9 rows named "otwierasz se zdrapeczke byku" to player loop 9 times: set player's current inventory's slot (loop-number)-1 to red stained glass pane named "kliknij byku tutaj"
-
Witam, jak zrobic ze gdy if {diaxSETY} is "&cWylaczone": a gracz ma ubrany diamentową zbroje to ja wyrzuci na ziemie/zdejmie mu ją
-
[00:09:34 ERROR]: There's no loop that matches 'loop-player to "&7( &3&lObecnie trwa: &6&lTurboDrop %getTime({turbo::%loop-player%})%)"' (2.sk, line 280: set action bar of loop-player to "&7( &3&lObecnie trwa: &6&lTurboDrop %getTime({turbo::%loop-player%})%)"') [00:09:34 ERROR]: ': &2Wlaczony||&8╗ &7Zakonczy sie za: %getTime({turbo::%loop-player%})%"' is not a valid item data (2.sk, line 283: set loop-player's current inventory's slot 34 to diamond pickaxe named "&8╗ &6&lTurbo&e&lDrop &8ź" with lore "&8╗ &7Status: &2Wlaczony||&8╗ &7Zakonczy sie za: %getTime({turbo::%loop-player%})%"') //EDIT Dobra niewazne, jestem glupi XD, aczkolwiek gdy jest na 40 sekund turbodrop to jest <none minut> 40sekund mozna zorbic ze jesli nie ma czasu dla minut to jest tylko sekund?
-
Witam, mam taki mały skromny skrypcik na turbodropik, prosiłbym o zmiane w nim: 1. Jesli wpisze np. /turbodrop 3600 to da turbodrop na godzine i bedzie czas turbodropa godzina 1 a potem wiadomo np. 59minut 30 sekund itd itp... Dawanie turbodropu: command /turbodrop [<number>]: permission: * permission message: &4Blad: &cNie posiadasz permisji trigger: if arg-1 is set: loop all players: set {turbo::%loop-player%} to number-arg send loop-players title "&6&lTurbo&e&lDrop" with subtitle "&7Caly serwer dostal &6&lTurbo&e&lDrop &7na &6%{turbo::%loop-player%}% sek" for 3 seconds stop else: send "&4Blad: &cMusisz podac czas" stop Odliczanie: on every seconds: loop all players: if {turbo::%loop-player%} > 0: set action bar of loop-player to "&7( &3&lObecnie trwa: &6&lTurboDrop &e&l%{turbo::%loop-player%}% sekund&7 )" remove 1 from {turbo::%loop-player%} if "%inventory name of loop-player's current inventory%" is "&2&lDrop z kamienia!": set loop-player's current inventory's slot 34 to diamond pickaxe named "&8» &6&lTurbo&e&lDrop &8«" with lore "&8» &7Status: &2Wlaczony||&8» &7Zakonczy sie za: &c%{turbo::%loop-player%}% sekund" wait 1 seconds if {turbo::%loop-player%} = 0: stop
-
Jesli gracz lognie a blok nie zostal usuniety to go nie usunie juz ;< aczkolwiek przetestuje jeszcze raz bo lekko inaczej to pisalem ////edit mialem racje, nie usuwa bloku gdy gracz lognie ;<
-
Witam, prosze o pomoc mianowicie chciałbym zrobic tak ze po 3 sekundach usunie owy blok nawet jesli gracz wyjdzie z serwera/bedzie ciagle itd itp. chodzi mi o cos takiego jak ponizej ale nie dziala ;< on place of cobblestone: if guild at event-location is not set: wait 20 ticks set block to air
-
Witam, jest mozliwosc zrobienia jakiegos eventu np. usuniecia owego bloku po godzinie jesli gracz postawi blok za terenem gildii? w skrypcie oczywiscie;)
