-
Ilość zawartości
6123 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
232
Treść opublikowana przez xAxee
-
najlepiej po sekundzie sprawdz różnice lokalizacji set {_loc1} to location of player arg wait second set {_loc2} to location of player arg set {_diff} to distance between {_loc1} and {_loc2} if {_diff} == 0: #BAN :D
-
function getRq() :: number loop {rq::*}: if difference between now and loop-value <= 1 second: add 1 to {_i} else: remove loop-value from {rq::*} return {_i} on join: add now to {rq::*} every second: send action bar "Ilosc polaczen: %getRq()%/s" to all players CPS to Click Per Second a nie połączenia na sekunde
-
on join: hide all players from player hide player from all players
-
Command /helpop [<text>]: trigger: if arg 1 is not set: send "&9[!] &7Podaj treść wiadomości!" to player stop send "&4[HelpOp] &cWiadomość została wysłana!" to player send "&4[HelpOp] &7%player%: &f%arg 1%" to all players where [input has permission "ekipa.helpop"] make embed: set color of embed to {@kolor} set the title of embed to tile with text "Gracz %player% napisał" set the description of embed to description with text "%arg 1%" send the last created embed to channel with id "XXXX" with "{@bot}"
-
every second: set {_date} to unix timestamp of date(2022, 7, 30, 17, 30) set {_time} to unix timestamp of now send "%difference between {_date}'s unix date and now%" to all players set {_diff} to {_date} - {_time} set {_d} to rounded down {_diff} / (3600*24) set {_h} to rounded down mod({_diff}, (3600*24)) / 3600 set {_m} to rounded down mod({_diff}, 3600) / 60 set {_s} to rounded down mod({_diff}, 60) send action bar "Do dnia 31 lipca zostało: %{_d} ? "0"%d %{_h} ? "0"%h %{_m} ? "0"%m %{_s} ? "0"%s " to all players xd
-
co to rq/s dołączenia na serwer na sekunde?
-
no jeżeli zostaną godziny (bez dni) to będzie z minutami, jeżeli zostaną minuty to będzie z sekundami iwg
-
FunnySkAddon - Plugin wspierający FunnyGuilds w skripcie
xAxee odpowiedział(a) na Peridot temat w Dodatki i narzędzia
Można się spodziewać obsługi eventu GuildChatEvent? -
zwykla lapka set player's tool to iron ingot lewa lapka set player's off hand tool to gold ingot
-
every second: set {_date} to date(2022, 7, 30) set {_time} to difference between {_date} and now set {_format} to "%{_time}%" set {_pl::*} to ("l" and "l", "msc", "msc", "d", "d", "h", "h", "m", "m", "s", "s", ",") set {_ang::*} to (" years" and " year", " months", " month", " days", " day", " hours" , " hour", " minutes", " minute", " seconds", " second", " and") loop {_ang::*}: replace all loop-value with {_pl::%loop-index%} in {_format} send action bar "Do dnia 31 lipca zostało: %{_format}%" to all players
-
Czy ten skrypt jest dobrze napisany? Dopiero się uczę
xAxee odpowiedział(a) na Docken1 pytanie w Pytania i problemy
jedynie clear jest źle wytabowany i lepiej go zrobić tak: if arg 1 is "clear" or "c": loop 100 times: send " " to all players send "&9>> &bChat zostal wyczyszczony przez %player%" to all players zmienne sie daje w {} nie w () -
function AdminMode(p: player, spr: player, s: string) i w komendzie wywołujesz; AdminMode(gracz 1, arg 1, "text)
-
set {_date} to date(2022, 7, 30, hour, minute, second)
-
every second: set {_date} to date(2022, 7, 30) set {_time} to difference between {_date} and now set {_format} to "%{_time}%" set {_pl::*} to ("l" and "l", "msc", "msc", "d", "d", "h", "h", "m", "m", "s", "s", ",") set {_ang::*} to (" years" and " year", " months", " month", " days", " day", " hours" , " hour", " minutes", " minute", " seconds", " second", " and") loop {_ang::*}: replace all loop-value with {{_pl::%loop-index%}} in {_format} send action bar "Do dnia 31 lipca zostało: %{_format}%" to all players
-
1. Pobierz nową wersje skripta
-
ma być w folderze plugins/Skript/scripts i ma miec rozszerzenie .sk
-
Problem został rozwiązany.
-
command /lobby [<text>]: trigger: execute player command "warp lobby"
-
Problem został rozwiązany.
-
Aktualizacja - Dodano możliwość automatycznego ustawienia cooldownu podczas sprawdzania cooldownu getCooldown(p: player, name: text, setCooldown: boolean=false) - Dodano możliwość zmiany formatu na swój jako argument funkcji getCooldownText(p: player, name: text, format: texts=("l" and "l", "msc", "msc", "d", "d", "h", "h", "m", "m", "s", "s", ",")) - Od teraz funkcja getCooldownText zwraca zaokrąglone liczby np z 15.2s na 15s - Zmieniono formatowanie z pełnych wyrazów na skróty (np 10 sekund na 10s) Dziękuje za uwage
-
no to ten pierwszy sposób while {zmienna} is true: send action bar "TRESC" to all players wait second dajesz to tam gdzie ustawiasz zmienna i działa
-
ponieważ masz wszystkie uprawnienia command /klucze: trigger: if player has permission "klucze.stiv": execute console command "crate key %player% galaxy 5" stop if player has permission "klucze.spoceniec": execute console command "crate key %player% galaxy 9" stop if player has permission "klucze.koks": execute console command "crate key %player% galaxy 2" stop if player has permission "klucze.svip": execute console command "crate key %player% alien 2" stop if player has permission "klucze.vip": execute console command "crate key %player% alien 1" stop ustawiaj te warunki od najsilniejszego uprawnienia do najgorszego
-
while {zmienna} is true: send action bar "TRESC" to all players wait second najlepiej while w kodzie gdzie ustawiasz zmienna na true albo: every second: {zmienna} is true send action bar "tresc" to all players
-
on right click: if name of clicked entity is "&a&lStrefa no pvp": teleport player to location at 0, 100, 0
