Skocz do zawartości

CoFFeIN04

Użytkownik
  • Ilość zawartości

    4951
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    170

Treść opublikowana przez CoFFeIN04

  1. hmm bardzo interesujące jak możemy ci z tym pomóc jeśli ich nie znamy
  2. CoFFeIN04

    Gui

    Tak właśnie jest, pomyliłem się. Proszę poprawione: command /graj: trigger: set {_} to 3 open chest inventory with {_} rows named "&cgraj" to player set slot (integers between 0 and ({_}*9)-1) to black glass pane set slot (random integer between 0 and ({_}*9)-1) of player's current inventory to paper on inventory click: name of player's current inventory = "&cgraj" clicked inventory is not player's inventory cancel event clicked slot is paper close player's inventory add 5 to player's balance
  3. Zapomniałem o jednym znaku procenta, wersja poprawiona: on join: {misja::%player%} is not set set {misja::%player%} to 0 on death of zombie: attacker is a player {misja::%attacker%} <= 10 add 1 to {misja::%attacker%} send "Zabiles %{misja::%atacker%}%/10 zombie" to attacker {misja::%attacker%} = 10 give 1 of diamond to attacker
  4. on join: {misja::%player%} is not set set {misja::%player%} to 0 on death of zombie: attacker is a player {misja::%attacker%} <= 10 add 1 to {misja::%attacker%} send "Zabiles %{misja::%atacker%}/10 zombie" to attacker {misja::%attacker%} = 10 give 1 of diamond to attacker
  5. CoFFeIN04

    Gui

    command /graj: trigger: set {_} to 3 open chest inventory with {_} rows named "&cgraj" to player set slot (random integer between 0 and ({_}*3)-1) of player's current inventory to paper on inventory click: name of player's current inventory = "&cgraj" cancel event clicked inventory is not player's inventory clicked slot is paper close player's inventory add 5 to player's balance
  6. Czy w konsoli są jakieś błędy?
  7. Zamiast integer użyj number https://docs.skunity.com/syntax/search/id:5219
  8. Poniższy, poprawiony kod: function meteoryt(): set {_x} to random integer between -500 and 500 set {_z} to random integer between -500 and 500 set {_loc} to location of highest block at location at {_x}, 256, {_z} in world "world" add 2 to y-loc of {_loc} set {obsidian::%{_loc}%} to true set block at {_loc} to obsidian set {_format} to "%x-loc of {_loc}%, %y-loc of {_loc}%, %z-loc of {_loc}% (%world of {_loc}%)" send "&6Obsydian pojawił się na koordynatach: &e%{_format}%&6!" to all players wrzucony na serwer testowy działa prawidłowo
  9. CoFFeIN04

    Kilof do obsydianu

    on mine: event-block is not obsidian name of player's tool = "&cObsidian" cancel event command /kilof [<text>]: permission: obsidian.kilof trigger: give 1 of diamond pickaxe named "&cObsidian" of efficiency 25, durability 10 and fortune 3 to player Komenda /kilof daje ci kilof
  10. jaki kod działa, a jaki nie?
  11. czego? masz tutaj podane, na jakiej było testowane:
  12. CoFFeIN04

    Blokada

    on damage: attacker is a player set {lastDmg::%attacker%} to now on entering of region "spawn": time since {lastDmg::%player%} < 15 seconds cancel event
  13. Nie mieszaj spacji oraz tabów w obrębie jednego kodu. Dodatkowo procentów % używasz tylko wtedy, gdy chcesz coś wypisać z tekście. nie %a %e tylko &a &e
  14. https://www.spigotmc.org/threads/experience-doesnt-set-right.188545/
  15. A gdzie wywołujesz tą funkcję?
  16. CoFFeIN04

    Łuk tnt

    https://forums.skunity.com/threads/tnt-bow.9552/#post-41822 https://forums.skunity.com/threads/replacing-former-blocks-after-an-explode-event.3882/#post-12672
  17. CoFFeIN04

    Drop

    dodaj add 1 to player's balance wszędzie tam, gdzie chcesz żeby dropiła kasa
  18. zatem jest to zlecenie? Odpowiadając na pytanie - tak, mogę odpłatnie wykonać to zlecenie, zapraszam do kontaktu na discordzie, nazwę masz poniżej:
  19. command: command contains "home" player's world is world("world_nether") or world("world_the_end") cancel event
  20. w najnowszej wersji jest event on move, który nie wykonuje się ciągle tylko przy większym "ruchu", dlatego on tutaj w miarę pasował
  21. zatem możesz zacząć korzystać z dokumentacji, znajdziesz tam wiele przydatnych rzeczy, a ona znajduje się pod tym linkiem:
  22. CoFFeIN04

    Generator

    Jak taki generator działa?
  23. CoFFeIN04

    Mob

  24. Będzie to: %display name of player% Ale podziwiam, że chciało Ci się tworzyć temat tutaj, zamiast szybko sprawdzić w dokumentacji: https://skriptlang.github.io/Skript/expressions.html#ExprName
  25. No spoko, co mam z tym zrobić gdy nie widzę kodu?
×
×
  • Dodaj nową pozycję...