Skocz do zawartości

Fendi

Użytkownik
  • Ilość zawartości

    1775
  • Rejestracja

  • Ostatnia wizyta

  • Wygrane w rankingu

    78

Treść opublikowana przez Fendi

  1. Fendi

    Skrypt na Pocztówki

    konfiguracje blokow szybciej zrobisz poprzez wpisanie komendy niz wpisanie dokladnych kordow bloku
  2. Fendi

    .

    on rightclick: send "&aDebug 1" to player clicked entity is a player send "&aDebug 2" to player player's held item is diamond sword send "&aDebug 3" to player set {_czas} to difference between {cd::1::%player%} and now if {_czas} isn't less than 10 seconds: send "&aDebug 4" to player set {cd::1::%player%} to now execute player command "/duel %clicked entity%" else: send "Poczekaj 2 sekundy" Wyslij screena co ci wypisze
  3. Fendi

    .

    on rightclick: clicked entity is a player player's held item is diamond sword set {_czas} to difference between {cd::1::%player%} and now if {_czas} isn't less than 10 seconds: set {cd::1::%player%} to now execute player command "/duel %clicked entity%" else: send "Poczekaj 2 sekundy" Sprawdz to
  4. Fendi

    Kusza Spidermana

    Tworzenie cooldownow w taki sposob nie jest optymalne, m.in. przez loopa graczy co sekunde. Na wiki jest tutorial jak fajnie to zrobic poprzez porownanie czasu https://wiki.skript.pl/Odstępy_czasowe
  5. Fendi

    Sklejka skryptów

    loop 55 times: set {_gui}'s slot loop-value - 1 to black glass pane named " " zamien na set slot (integers between 0 and 27) of {_gui} to black glass pane named " " Mozliwe ze blad jaki wystepuje, jest przez to ze nie sprawdzasz jakie jest to inventory on inventory click: event-inventory is not player's inventory if (name of event-inventory is "&c&lPomoc"): cancel event
  6. Fendi

    Skrypt na /losowanie

    {loteria} Używając {_loteria} nie zasmiecasz serwera loop 3*9 times: set slot ((loop-number) - 1) of {loteria} to black stained glass pane named "&6&lLoteria" lepiej to set slot (integers between 0 and 27) of {_loteria) to .... on inventory click: if name of event-inventory is "&8--------&7> &6&lLoteria &7<&8--------": cancel event a co jak ktos kliknie w swoim eq? event-inventory is not player's inventory warto dodac takie zabezpieczenie set slot 0 of {loteria} to lime concrete named "&a&lWygrałeś (500$)" gdy zamienisz {loteria} na zmienną czasową wtedy tutaj zamien na "event-inventory"
  7. bo miales to zrobic tylko w miejscu jakie ci pokazalem, z jednego bledu teraz zrobiles 2 function dajCD(p: player, v: text, t: text, s: timespan) :: boolean: if difference between {cooldown::%{_v}%::%{_p}%} and now is smaller than {_s}: remove difference between now and {cooldown::%{_v}%::%{_p}%} from {_s} set {_s} to "%{_s}%" replace all "seconds" and "second" with "s" in {_s} replace all "minute" and "minutes" with "m" in {_s} send "%{_t}% %{_s}%" to {_p} return false else: set {cooldown::%{_v}%::%{_p}%} to now return true on death of player: victim is in region "wiosna" attacker is a player dajCD(attacker, "%victim%", "&8 Przed następnym zabójstwem tego gracza poczekaj&7", 5 minutes) = true give attacker 1 slime ball named "&aᴡɪᴏsᴇɴɴʏ &fᴏᴅʟᴀᴍᴇᴋ"
  8. command /ustawspawn [<offlineplayer>]: permission: op trigger: set {customspawn::%arg-1%} to location of player on first join: {customspawn::%player%} is set teleport player to {customspawn::%player%} delete {customspawn::%player%}
  9. Czemu nie opiszesz w jaki sposob ma to dzialac. Po co ktos ma sobie marnowac czas zeby wejsc na jakis smieszny serwerek.
  10. Fendi

    skrypt luckperm prefixy

    Przeciez wysłałem ci dodatek który samemu sie "wpycha" do papi https://github.com/APickledWalrus/skript-placeholders Przykład jak użyć: set {_ping} to placeholder "player_ping" from player
  11. Fendi

    Skrypt na customowe itemy

    on armor change: remove speed from player uncolored name of player's boots contains "Buty Szybkosci" apply infinite speed of tier 2 without any particles to player replacing existing effect on tool change: remove haste from player uncolored name of player's tool contains "Kilof Szybkosci" apply infinite haste of tier 2 without any particles to player replacing existing effect
  12. https://skript.pl/temat/57153-stworzenie-regionu/ analogiczny sposob co tutaj
  13. Fendi

    Stworzenie regionu

    Nie jest to najpoprawniejszy sposob, stworzylem jednemu użytkownikowi na discordzie, ale jezeli nie masz innych mozliwosci to mozesz uzyc sposobu w jaki ja to zrobilem.
  14. command /zmientryb: trigger: set {_gui} to chest inventory with 1 row named "Zmien tryb" set slot 0 of {_gui} to red dye named "Anarchia SMP" with lore "&7To jest tryb Anarchia SMP." open {_gui} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "Zmien tryb": send title """Laczenie...""" wait 40 ticks kick the player due to "&ctest" Powinno dzialac, i troche ulepszylem
  15. function dajCD(p: player, v: text, t: text, s: timespan) :: boolean: if difference between {cooldown::%{_v}%::%{_p}%} and now is smaller than {_s}: remove difference between now and {cooldown::%{_v}%::%{_p}%} from {_s} set {_s} to "%{_s}%" replace all "seconds" and "second" with "s" in {_s} replace all "minute" and "minutes" with "m" in {_s} send "%{_t}% %{_s}%" to {_p} return false else: set {cooldown::%{_v}%::%{_p}%} to now return true on death of player: victim is in region "wiosna" attacker is a player dajCD(player, "%victim%", "&8 Przed następnym zabójstwem tego gracza poczekaj&7", 5 minutes) = true give attacker 1 slime ball named "&aᴡɪᴏsᴇɴɴʏ &fᴏᴅʟᴀᴍᴇᴋ" Sprawdz czy dziala https://skript.pl/temat/55690-skrypt-na-proste-tworzenie-cooldownów/
  16. Nie musisz zaśmiecać serwera grupą zmiennych skoro już zapisałeś arg 1 na slocie. Teraz wystarczy to odczytać. command /cos [<text>]: trigger: set {_gui} to chest with 1 rows named "cos" set slot 1 of {_gui} to stone named arg 1 open {_gui} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "cos": if clicked slot is 1: send name of clicked slot to player I skoro arg 1 zapisujesz jako typ danych text/string to jego pozniejsza zamiana nie jest konieczna "arg-1%" -> arg-1 W twoim kodzie przez to wyskakują irytujące ostrzeżenia
  17. Fendi

    zmienne

    (wiadomosc) (wiadomosc) -> [<text>] [<text>] (jezeli obie wiadomosci sa takie same) -> if arg-1 = arg-2: {nazwa gracza w sensie jego nick} -> set player's display name (wiadomosc uztya wyzej w komendzie) -> arg-1
  18. Fendi

    skrypt luckperm prefixy

    https://luckperms.net/wiki/Placeholders https://github.com/APickledWalrus/skript-placeholders Wywołaj placeholder gdzie zapisany jest prefix gracza poprzez dodatek skript-placeholders. Jak go uzyc masz napisane na dole "Examples and Documentation"
  19. No przecież masz przykład, co trudnego go skopiować, przeczytać opis i wkleić swoją zmienna ?
  20. https://skripthub.net/docs/?id=2061 W przykladzie masz ladnie pokazane jak
  21. a zrobiles to razem z teleport player to {_teleLoc}? bo to akurat ma byc na tym samym poziomie co loop blocks
  22. bo to jest zle wytabowane, gdy dajesz loopa to nastepne linijki przesuwasz o taba do przodu
  23. Fendi

    Światowy Dzień Walki z Depresją

    Światowy dzień (nie)grania w lige
  24. Przeciez wystarczy poszukac na necie
  25. jaki? ja sprawdzalem parserem i nie bylo bledow
×
×
  • Dodaj nową pozycję...