-
Ilość zawartości
2271 -
Rejestracja
-
Wygrane w rankingu
23
Treść opublikowana przez bludis
-
Problem został rozwiązany.
-
Niby działa, aczkolwiek gdy klikam poza obszar 20 kratek, to cały czas pokazuje, że nie jest. Urywek z kodu: set {_loc} to location of target block set {_x} to location of player if difference between {_loc} and {_x} > {limit_patyk}: send "&c&lBlad! &7Patyk nie jest w stanie przeteleportowac Cie na az tak dluga odlegosc!" stop
-
Witam! Dziś przychodzę do Was z pytaniem, jak sprawdzić, czy różnica pomiędzy dwoma lokacjami jest większa niż integer? Moja zmienna na lokację target blocku: {_loc} Moja zmienna na lokację gracza: {_x} Moja zmienna, w której przetrzymuje integera: {limit_patyk} Daję najlepszą odpowiedź i tzw "plusy". Pozdrawiam. @knugi @KrejzolekPRO @LloydPL
-
Tak.
-
Hmm... A format slot Ci będzie działał (tak wiem, nie powinno się tego używać). command /gui [<text>]: trigger: set {klik::%player%} to true open chest with 1 row named "gui dla gnomq" to player wait 4 tick format slot 4 of player with 1 of stone named "nazwa" with lore "opis" to be unstealable on inventory click: if inventory name of current inventory of player is "gui dla gnomq": if clicked slot is 4: cancel event set {klik::%player%} to false on inventory close: if inventory name of current inventory of player is "gui dla gnomq": set {klik::%player%} to false on rightclick with chest: if {klik::%player%} is true: cancel event send "&4&lUWAGA! &7%player% &cbuguje /gui!" to all ops
-
1. Zamień format slota na set slot. 2. Zero "wait xyz tick" po otwarciu gui. 3. "format slot 0 of players", nie wiem czemu zamiast "player" dałeś "players". 4. Wywal te executy, bo się na to patrzeć nie da. 5. Zrób komendy w jednym skrypcie, ponieważ nie każdy posiada plugin "Essentials". 1. Ogólnie pomysł ciekawy. 2. Fajnie, że dałeś "[<text>]", mimo to że nie było trzeba wpisywać żadnego argumentu. Ocena pomysłu: 8/10 Ocena kodu: 5/10
-
command /money [<text>]: aliases: /emoney, /pieniadze trigger: open chest with 1 row named "&aTwoj &f&nstan&r &akonta" to player wait 4 tick set player's current inventory's slot 4 to gold block named "&7Twoj stan konta" with lore "%player's balance%" on inventory click: if inventory name of current inventory of player is "&aTwoj &f&nstan&r &akonta": cancel event Vault wymagany.
-
command /gui [<text>]: trigger: open chest with 1 row named "gui dla gnomq" to player wait 4 tick set player's current inventory's slot 0 to stone named "nazwa" with lore "opis" on inventory click: if inventory name of current inventory of player is "gui dla gnomq": cancel event
-
Problem został rozwiązany.
-
Wchodzisz w folder Essentials, następnie config.yml i klikasz ctrl + f , następnie wpisujesz "warp" i wyświetlają Ci się frazy, w których znajdują się informacje o warpach. Tam wszystko ustawiasz.
-
To jest do ustawienia w configu Essentialsa.
-
on mor.jump: if player has permission "double.jump": if {db} is true: wait 4 tick push player upwards at speed 0.5 command /db [<text>]: trigger: if arg 1 isn't set: send "&c&lBlad! &7Poprawne uzycie: /db <&2&lon&7/&4&loff&7> [<gracz>]" stop if arg 1 isn't "on" or "off": send "&c&lBlad! &7Poprawne uzycie: /db <&2&lon&7/&4&loff&7> [<gracz>]" stop if arg 1 is "on": if {db} is true: send "&c&lBlad! &7Double jump jest juz &a&lwlaczony!" stop set {db} to true send "&a&lSukces! &7Poprawnie wlaczyles double jumpa" stop if arg 1 is "off": if {db} is false: send "&c&lBlad! &7Double jump jest juz &4&lwylaczony!" stop set {db} to false send "&a&lSukces! &7Poprawnie wylaczyles double jumpa" stop
-
on mor.jump: if player has permission "double.jump": wait 4 tick push player upwards at speed 0.5 Wymagane: Skript, SkMorkaz
-
Aby wyświetlić zmienną dodajesz do kodu: send "%{zmienna}%" to player Czyli w Twoim przypadku będzie: command /sprawdzwiek [<text>]: trigger: send "%{dzien}%" to player send "%{miesiac}%" to player send "%{rok}%" to player send "%{dzien}%.%{miesiac}%.%{rok}%} to player stop źle przeczytałem temat, tu poprawne: if {rok} is equal to 9: #Jeśli zmienna {rok} jest równa 9 if {rok} is larger than 9: #Jeśli zmienna {rok} jest większa niż 9 if {rok} is smaller than 9: #Jeśli zmienna {rok} jest mniejsza niż 9 Tam gdzie dałem 9, możesz dać dowolną liczbę.
-
Problem został rozwiązany.
-
command /reset [<offlineplayer>]: trigger: if arg 1 is not set: send "&c&lBlad! &7Poprawne uzycie: /reset <&cgracz&7>" stop if arg 1 is set: set {coins.%arg 1%} to 0 send "&a&lSukces! &7Coinsy &2%arg 1% &7zostaly &2poprawnie &7zresetowane!" stop
-
McHusi.PL - Pierwszy serwer w Polsce na wersję 1.13, zapraszamy!
bludis odpowiedział(a) na Ask3r temat w Archiwum serwerów
Ten temat został zamknięty. Ten temat został przeniesiony. -
McHusi.PL - Pierwszy serwer w Polsce na wersję 1.13, zapraszamy!
bludis odpowiedział(a) na Ask3r temat w Archiwum serwerów
Zamykam na prośbę autora w wiadomości prywatnej. -
command /shop [<text>]: trigger: if arg 1 isn't set: if player's balance is larger than 9: set {shop_dirt} to "&2&lMOZESZ ZAKUPIC" execute player command "shop (((opengui)))" stop set {shop_dirt} to "&4&lNIE MOZESZ ZAKUPIC" execute player command "shop (((opengui)))" stop if arg 1 isn't "(((opengui)))": if player's balance is larger than 9: set {shop_dirt} to "&2&lMOZESZ ZAKUPIC" execute player command "shop (((opengui)))" stop set {shop_dirt} to "&4&lNIE MOZESZ ZAKUPIC" execute player command "shop (((opengui)))" stop if arg 1 is "(((opengui)))": close player's inventory open chest with 1 row named "&6&lSKLEP" to player wait 3 tick set player's current inventory's slot 0 to dirt named "" with lore "||&8* &7Stan: %{shop_dirt}% &8*||&8* &7Twoj stan konta: &6%player's balance%&2&l$ &8*" on inventory click: if inventory name of current inventory of player is "&6&lSKLEP": cancel event if clicked slot is 0: if player's balance is larger than 9: if player has enough space for 1 of dirt: remove 10 from player's balance send "&8» &aPoprawnie zakupiles item: &2&ldirt" to the player give 1 dirt to the player stop send "&8» &cNie posiadasz miejsca w ekwipunku." to the player stop send "&8» &cTwoj stan konta jest &4&l&nza maly&r&c, aby kupic dirt." to the player stop
-
To masz dirta xD command /shop [<text>]: trigger: if arg 1 isn't set: if player's balance is larger than 9: set {shop_dirt} to "&2&lMOZESZ ZAKUPIC" execute player command "shop (((opengui)))" stop set {shop_dirt} to "&4&lNIE MOZESZ ZAKUPIC" execute player command "shop (((opengui)))" stop if arg 1 isn't "(((opengui)))": if player's balance is larger than 9: set {shop_dirt} to "&2&lMOZESZ ZAKUPIC" execute player command "shop (((opengui)))" stop set {shop_dirt} to "&4&lNIE MOZESZ ZAKUPIC" execute player command "shop (((opengui)))" stop if arg 1 is "(((opengui)))": close player's inventory open chest with 1 row named "&6&lSKLEP" to player wait 3 tick set player's current inventory's slot 0 to dirt named "" with lore "||&8* &7Stan: %{shop_dirt}% &8*||&8* &7Twoj stan konta: &6%player's balance%&2&l$ &8*" on inventory click: if inventory name of current inventory of player is "&6&lSKLEP": cancel event if clicked slot is 0: if player's balance is larger than 9: remove 10 from player's balance send "&8» &aPoprawnie zakupiles item: &2&ldirt" to the player give 1 dirt to the player stop send "&8» &cTwoj stan konta jest &4&l&nza maly&r&c, aby kupic dirt." to the player stop
-
Wyczyszczenie ekwipunku gracza przed daniem mu zestawu
bludis odpowiedział(a) na Tygrysowaty pytanie w Pytania i problemy
Ten temat został zamknięty.
