-
Ilość zawartości
348 -
Rejestracja
-
Ostatnia wizyta
Treść opublikowana przez SirGeorge
-
if "%region at player%" contains "spawn":
-
options: pktzombie: 20 pktszkielet: 20 pktcreeper: 20 iloscnalvl2: 100 iloscnalvl3: 200 variables: {pkt.%player%} = 0 {lvl.%player%} = 1 on death of zombie: add {@pktzombie} to {pkt.%player%} if {pkt.%player%} is more or equal to {@iloscnalvl2}: add 1 to {lvl.%player%} set {pkt.%player%} to 0 if {pkt.%player%} is more or equal to {@iloscnalvl3}: add 1 to {lvl.%player%} set {pkt.%player%} to 0 on death of skeleton: add {@pktszkielet} to {pkt.%player%} if {pkt.%player%} is more or equal to {@iloscnalvl2}: add 1 to {lvl.%player%} set {pkt.%player%} to 0 if {pkt.%player%} is more or equal to {@iloscnalvl3}: add 1 to {lvl.%player%} set {pkt.%player%} to 0 on death of creeper: add {@pktcreeper} to {pkt.%player%} if {pkt.%player%} is more or equal to {@iloscnalvl2}: add 1 to {lvl.%player%} set {pkt.%player%} to 0 if {pkt.%player%} is more or equal to {@iloscnalvl3}: add 1 to {lvl.%player%} set {pkt.%player%} to 0 Tu masz takie najprostsze, nie testowane, myślę że pomogłem.
-
variables: {ochrona::%player%} = false on join: if {ochrona::%player%} is false: send "&fPvP dla ciebie jest wylaczone, wpisz komede /pvp" on damage: if {ochrona::%victim%} is true: cancel event send "&7Nie mozesz zaatakowac &7%victim%&7 poniewaz ma ochrone" to attacker every 5 seconds: loop all players: if {cooldown.%loop-player%} is set: set {_cooldown.%loop-player%} to yaml value "cooldown" from file "Zmienne/%loop-player%.yml" set {_cooldown.%loop-player%} to {_cooldown.%loop-player%} parsed as number remove 5 from {_cooldown.%loop-player%} set yaml value "cooldown" from file "Zmienne/%loop-player%" to "%{_cooldown.%loop-player%}%" set {_cooldown.%loop-player%} to yaml value "cooldown" from file "Zmienne/%loop-player%.yml" set {_cooldown.%loop-player%} to {_cooldown.%loop-player%} parsed as number if {_cooldown.%loop-player%} is smaller or equal to 0: delete {cooldown.%loop-player%} delete yaml value "cooldown" from file "Zmienne/%loop-player%.yml" command /pvp [<text>]: trigger: set {_cooldown.%player%} to yaml value "cooldown" from file "Zmienne/%player%.yml" set {_cooldown.%player%} to {_cooldown.%player%} parsed as number if {_cooldown.%player%} is not set: arg 1 is not set: send "" send "&f/pvp on - &a&lAktywne" send "&f/pvp off - &c&lNieaktywne" send "" arg 1 is "on": send " &aPVP &fjest aktywne" set {ochrona::%player%} to true set yaml value "cooldown" from file "Zmienne/%player%.yml" to "30" arg 1 is "off": send " &aPVP &fjest nieaktywne" set {ochrona::%player%} to false else: send "&cNie mozesz jeszcze uzyc tej komendy!" stop Już naprawione.
-
variables: {pvp.%player%} = false command /pvp: trigger: if {pvp.%player%}% is false: set {pvp.%player%} to true send "&aWlaczyles &ftryb pvp!" stop if {pvp.%player%}% is true: set {pvp.%player%} to false send "&cWylaczyles &ftryb pvp!" stop on damage: if attacker is a player: if victim is a player: if {pvp.%victim%} is false: cancel event send "&cGracz ma wylaczone pvp!} to attacker stop
-
Próbowałem zrobić coś z tą grafiką ale się nie dało, spróbuje na nowo, dzięki za poradę.
-
Po co mam się rozpisywać skoro prawie wszystko jest na grafice ? Nie widzę sensu po raz setny pisać tego.
-
Witam, jest to serwer typu Real Life który jest w budowie od grudnia 2016, więcej informacji na grupie: https://www.facebook.com/groups/261271564306863/?ref=bookmarks
-
variables: {ochrona::%player%} = false on join: if {ochrona::%player%} is false: send "&fPvP dla ciebie jest wylaczone, wpisz komede /pvp" on damage: if {ochrona::%victim%} is true: cancel event send "&7Nie mozesz zaatakowac &7%victim%&7 poniewaz ma ochrone" to attacker command /pvp [<text>]: trigger: arg 1 is not set: send "" send "&f/pvp on - &a&lAktywne" send "&f/pvp off - &c&lNieaktywne" send "" arg 1 is "on": send " &aPVP &fjest aktywne" set {ochrona::%player%} to true arg 1 is "off": send " &aPVP &fjest nieaktywne" set {ochrona::%player%} to false Sprawdz czy dziala, nie testowane
-
Polecam Crazy Crates.
-
Daj może cały kod
-
Daj zamaist to the player at location of event-block
-
Tak to napisałeś chaotycznie że nic nie zrozumiałem. Chcesz skrypt że jak najedziesz na gracza to stworzy ci patyk ?
-
Tu masz SkQuery z mojego serwera działa mi na 1.10: http://twineer.com/67FH A tu Skript na 1.10: http://twineer.com/67Nz
-
Mi wszystko działa to masz problem ziomuś
-
command /drop: trigger: wait 1 tick open chest with 1 rows named "&a&lANTY KOPIOWANIE" to player wait 2 tick format slot 4 of player with 1 of wool named "&aAKCEPTUJE !" to close then run [make player execute command " dropweryfikacjaxd"] command /dropweryfikacjaxd: trigger: wait 1 tick open chest with 1 rows named "&c&lDROP" to player wait 2 tick format slot 1 of player with 1 of diamond named "&cDiament" to be unstealable format slot 3 of player with 1 of emerald named "&aEmerald" to be unstealable format slot 5 of player with 1 of iron ingot named "Sztabka zelaza" to be unstealable format slot 7 of player with 1 of gold ingot named "&6Sztabka zlota" to be unstealable
-
Przed open chest w obydwu miejscach i będzie się ładować bez problemu
-
dodaj tam jeszcze wait 1 tick
-
Musisz wytabować, pisze że masz spacje. command /drop: trigger: wait 1 tick open chest with 1 rows named "&a&lANTY KOPIOWANIE" to player wait 2 ticks format slot 4 of player with 1 wool named "&aAKCEPTUJE !" to close then run [make player execute command " dropweryfikacjaxd"] command /dropweryfikacjaxd: trigger: wait 1 tick open chest with 1 rows named "&c&lDROP" to player wait 2 ticks format slot 1 of player with 1 diamond named "&cDiament" to be unstealable format slot 3 of player with 1 emerald named "&aEmerald" to be unstealable format slot 5 of player with 1 iron ingot named "Sztabka zelaza" to be unstealable format slot 7 of player with 1 gold ingot named "&6Sztabka zlota" to be unstealable
-
To wyślij
-
command /drop: trigger: wait 1 tick open chest with 1 rows named "&a&lANTY KOPIOWANIE" to player wait 2 ticks format slot 4 of player with 1 of wool named "&aAKCEPTUJE !" to close then run [make player execute command " dropweryfikacjaxd"] command /dropweryfikacjaxd: trigger: wait 1 tick open chest with 1 rows named "&c&lDROP" to player wait 2 ticks format slot 1 of player with 1 of diamond named "&cDiament" to be unstealable format slot 3 of player with 1 of emerald named "&aEmerald" to be unstealable format slot 5 of player with 1 of iron ingot named "Sztabka zelaza" to be unstealable format slot 7 of player with 1 of gold ingot named "&6Sztabka zlota" to be unstealable Powinno działać a masz jakieś błędy?
-
Ale wiesz, wcześniej tak nie miałem, żadne błędy mi nie wyskakiwały i tu moje zdziwienie.
-
No to to wiem, ale nie rozumiem tego błędu, na maszynie dedykowanej nie wysyłało wgl, postawiłem serwer na swoim kompie i zaczęło wysyłać ciągle, wiem że nie ma tej wartości, czyli rozumiem musi za każdym razem jak wejdzie gracz tworzyć tę wartość?
-
Może być ten event tą przyczyną? every 1 seconds: loop all players: set {_egzamintrwa.%loop-player%} to yaml value "egzamintrwa" from file "zmienne/%uuid of loop-player%.yml" if {_egzamintrwa.%loop-player%} is "true": if "%region at loop-player%" contains "koniecepp": delete yaml value "czasepp" from file "zmienne/%uuid of loop-player%.yml" teleport loop-player to {lastpositon.%loop-player%} delete {lastpositon.%loop-player%} set yaml value "egzaminpp" from file "zmienne/%uuid of loop-player%.yml" to "true" delete yaml value "egzamintrwa" from file "zmienne/%uuid of loop-player%.yml" send "{@tag} &aGratulacje udalo ci sie ukonczyc egzamin praktyczny na policjanta, teraz mozesz zapisac sie na sluzbe." to loop-player stop
-
on quit: execute player command "feb wyjdz" teleport player to {splegg.lobby.spawn} clear player's inventory if "%world of player%" contains "world": set {last.%player%} to location of player command /lobby: trigger: execute player command "lobbys tp" Nie testowane, wytabuj 6 linijke tylko
