Grex
Użytkownik-
Ilość zawartości
601 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
3
Treść opublikowana przez Grex
-
Ale w GUI, gracz klika na ITEM W GUI, i Jak kliknie lewy, coś cie dzieję, a jak prawy, coś innego!
-
on weather change to rainy: send "&a&lZaczyna sie deszcz! Schowaj sie, albo zmokniesz!" to all players on weather change to thundering: send "&a&lZaczyna sie burza! Schowaj sie, albo zmokniesz!" to all players Nie testowane
-
Mam taki problem, mam gui, i chce by jak klikne prawym, stalo sie cos, lewym cos innego, jak mam shifta znowu cos innego... nie dziala mi zaden sposob w internecie, prosze o pomoc!
-
Spróbuj używać 'set player's current inventory's slot' czyli tak by to wyglądało: on rightclick on entity: if entity's name is "&eKup Bilet": wait 1 ticks open chest with 2 rows named "&6&LKup bilet do " to player wait 1 ticks set player's current invenory's slot 0 to emerald named "&8 &7&lBanku" set player's current invenory's slot 1 to end stone named "&8 &7&lUrzad pracy" set player's current invenory's slot 2 to of end stone named "&8 &7&lKosciola" set player's current invenory's slot 3 to of end stone named "&8 &7&lKopalnii" set player's current invenory's slot 4 to of name tag named "&8 &7&lSchroniska" set player's current invenory's slot 5 to end stone named "&8 &7&lDiler samochodow" set player's current invenory's slot 6 to end stone named "&8 &7&lMcDonalda" set player's current invenory's slot 7 to end stone named "&8 &7&lKina" set player's current invenory's slot 8 to bookshelf named "&8 &7&lBibliteki" set player's current invenory's slot 9 to red flower named "&8 &7&lSklep roslinego" set player's current invenory's slot 10 to end stone named "&8 &7&lTesco" set player's current invenory's slot 11 to end stone named "&8 &7&lApteki " set player's current invenory's slot 12 to dirt named "&8 &7&lPodlasia " Jednak, jak teraz wykonać coś po kliknięciu? użyć 'on inventory click', np o tak: on inventory click: if inventory name of current inventory of player contains "Nazwa Inventory": # Dzięki 'cancel event' nie da się wyjąć itemku. cancel event if clicked slot is NUMER SLOTA: # Dalsza akcja, czyli np: execute player's command "Komenda wykonana przez gracza" # Można też "execute console command" aby komende wykonala consola...
-
Pls aby sie nie wyswietlalo na chat <Bardzo prosty skrypt>
Grex odpowiedział(a) na pytanie w Pytania i problemy
Proszę: command /1 [<text>]: trigger: send player title "&a&lAutobus juz jedzie..." with subtitle "" wait 35 tick send player title "&a&lWsiadamy!" with subtitle "" wait 20 tick execute console command "tp %player% 213 60 285" send player title "&a&l" with subtitle "&a&lAutobus juz jedzie do miejsca docelowego." execute console command "eco take %player% -5" apply nausea 1 to the player for 10 seconds wait 120 tick send player title "&a&lKoniec Podrozy!" with subtitle "" execute console command "tp %player% 100 70 100" -
Chyba masz rację... nawet jeśli, to tu jest wszystko ze zmniennymi: every second: loop all players: if {Sprawdzanie:%loop-player%} is set: if {MdPlayer:%loop-player%} is player: set {_p} to {MdPlayer:%loop-player%} set action bar of loop-player to "&6&lSprawdzasz &7&l>> &cPING: %{_p}'s ping% &4&l%{_p}%" if {MdPlayer:%loop-player%} isn't player: set action bar of loop-player to "&6&lSprawdzasz &7&l>> &cPING: OFFLINE &4&l%{MdPlayer:%loop-player%}%" on inventory click: if inventory name of current inventory of player contains "{@MdGui}": cancel event if clicked slot is 0: if {WczesnyMdPlayer:%player%} is online: set {WczesnyMdPlayer:%player%} to {MdPlayer:%player%} parsed as offline player set {Sprawdzanie:%player%} to true command /md [<text>]: permission: ban permission message: Nie! trigger: if sender is player: if arg 1 is set: close player's inventory set {WczesnyMdPlayer:%player%} to arg-1 parsed as offline player Mam nadzieję że znajdziesz błąd, będę wdzięczny...
-
Posiadam SKELLET, i wyskakuje błąd: 'action bar with "Costam" is not a text!'
-
Oto fragment skriptu: every second: loop all players: if {%loop-player%:zmienna} is true: if {zmienna2:%loop-player%} is online: set {_p} to {zmienna2:%loop-player%} set action bar of loop-player to "&6&lCostam &7&l>> &cPING: %{_p}'s ping% &4&l%{zmienna2:%loop-player%}%" if {zmienna2:%loop-player%} is offline: set action bar of loop-player to "&6&lCostam &7&l>> &cPING: OFFLINE &4&l%{zmienna2:%loop-player%}%" Nie wyskakują ŻADNE błędy w konsoli, jednak nie pojawia się ActionBar dla gracza który ma zmienne, wszystkie zmienne są dobrze postawione w reszcie kodu, zmienna 2 posiada 'Parsed as Player'
-
command /Niesmiertelnosc [<text>] [<text>]: permission: Obrazenia.* trigger: if arg 1 isn't set: send "&cPodaj nick!" to sender if arg 1 is set: if arg 2 is set: if arg 2 is "Wlacz": if {Niesmiertelnosc::%arg 1%} is true: send "&cTen gracz jest juz niesmiertelny!" to sender if {Niesmiertelnosc::%arg 1%} is false: set {Niesmiertelnosc::%arg 1%} to true send "&cGracz &a%arg 1% &cSTal sie niesmiertelny!" if arg 2 is "Wylacz": if {Niesmiertelnosc::%arg 1%} is true: set {Niesmiertelnosc::%arg 1%} to false send "&cGracz &a%arg 1% &cSTal sie smiertelny!" if {Niesmiertelnosc::%arg 1%} is false: send "&cTen gracz nie jest niesmiertelny!" to sender if arg 2 isn't set: send "&cWlacz / Wylacz" to sender on damage: if {Niesmiertelnosc::%victim%} is true: cancel event if attacker is player: send "&cNie mozesz bic tego gracza!" to attacker push attacker horizontally backwards with speed 2 play raw sound "mob.bat.death" at victim with pitch 1 volume 5 Proszę. Komendy:
-
Jak chcesz dodac do Blacklisty kogos z np: administracji, to nie mozesz
-
on connect: if {%player%::BlackList} is set: kick player due to "&c&lWyrzucono! %nl% &c&lJestes na BlackLiscie! %nl% &c&lPowod:&e&l %{%player%::BlackList}%" command /blacklist [<text>] [<text>] [<text>]: permission: BlackList permission message: &cNie masz uprawnien! trigger: if arg 1 isn't set: send "&cUzycie: &2&l/blacklist Zdejmij/Nadaj nick" to sender if arg 1 is set: if arg 1 isn't "Zdejmij" or "Nadaj": send "&cUzycie: &2&l/blacklist Zdejmij/Nadaj nick powod&7(powod kiedy wpisales Nadaj)" to sender if arg 1 is "Zdejmij": if arg 2 isn't set: send "&cPodaj nick!" if arg 2 is set: if {%arg 2%::BlackList} is set: delete {%arg 2%::BlackList} send "&cUsunieto z blacklisty!" to sender if {%arg 2%::BlackList} isn't set: send "&cTen gracz nie jest na BlackLiscie!" to sender if arg 1 is "Nadaj": if arg 2 isn't set: send "&cPodaj nick!" to sender if arg 2 is set: if arg 2 is "Nick nie do dodania": send "Nie mozna go dodac!" to sender if arg 2 isn't "Nick nie dod dodania": if arg 3 isn't set: send "&CPodaj powod!" to sender if arg 3 is set: if {%arg 2%::BlackList} is set: send "&cTen grcz jest juz na blackliscie!" to sender if {%arg 2%::BlackList} isn't set: set {%arg 2%::BlackList} to "arg 3" set {_p} to arg-2 parsed as offline player kick {_p} due to "&c&lWyrzucono! %nl% &c&lJestes na BlackLiscie! %nl% &c&lPowod:&e&l %{%player%::BlackList}%" send "&cDodano do blacklisty!" to sender Już #Jesli chcesz wiecej nickow których nie mozna dodac, to robisz tak: #znajdz linijke: if arg 2 is "nick1": #dodaj: if arg 2 is "nick1" or "nick2" or "nick3": #itd...
-
on connect: if {%player%::BlackList} is set: kick player due to "&c&lWyrzucono! %nl% &c&lJestes na BlackLiscie! %nl% &c&lPowod:&e&l %{%player%::BlackList}%" command /blacklist [<text>] [<text>] [<text>]: permission: BlackList permission message: &cNie masz uprawnien! trigger: if arg 1 isn't set: send "&cUzycie: &2&l/blacklist Zdejmij/Nadaj nick" to sender if arg 1 is set: if arg 1 isn't "Zdejmij" or "Nadaj": send "&cUzycie: &2&l/blacklist Zdejmij/Nadaj nick powod&7(powod kiedy wpisales Nadaj)" to sender if arg 1 is "Zdejmij": if arg 2 isn't set: send "&cPodaj nick!" if arg 2 is set: if {%arg 2%::BlackList} is set: delete {%arg 2%::BlackList} send "&cUsunieto z blacklisty!" to sender if {%arg 2%::BlackList} isn't set: send "&cTen gracz nie jest na BlackLiscie!" to sender if arg 1 is "Nadaj": if arg 2 isn't set: send "&cPodaj nick!" to sender if arg 2 is set: if arg 3 isn't set: send "&CPodaj powod!" to sender if arg 3 is set: if {%arg 2%::BlackList} is set: send "&cTen grcz jest juz na blackliscie!" to sender if {%arg 2%::BlackList} isn't set: set {%arg 2%::BlackList} to "arg 3" set {_p} to arg-2 parsed as offline player kick {_p} due to "&c&lWyrzucono! %nl% &c&lJestes na BlackLiscie! %nl% &c&lPowod:&e&l %{%player%::BlackList}%" send "&cDodano do blacklisty!" to sender coś takiego? nie testowane!
-
Dzięki, wykorzystam ten plugin, nie użyje GAMEMODE SPECTATOR bo nie taka idea xD
-
A jaki plugin na VANISH polecasz ? ma mieć blokade bicia, klikania w skrzynie, nie ma blokować strzał ten gracz itd.
-
Proszę o pomoc. Kod: command /vanish [<text>] [<text>]: permission: vanish permission message: &c? trigger: if arg 1 isn't set: send "&cPodaj ON lub OFF" to sender if arg 1 is set: if arg 2 isn't set: send "&cPodaj nick!" to sender if arg 2 is set: if arg 2 isn't player: send "&cNie ma takiego gracza!" to sender if arg 2 is player: if arg 1 isn't "on" or "off": send "&cPodaj ON lub OFF" to sender if arg 1 is "on": set {v:%arg 2%} to true hide arg 2 to all players loop all players: if loop-player has permission "vanish.widzenie": reveal arg 2 to loop-player if arg 1 is "off": set {v:%arg 2%} to false reveal arg 2 to all players Błąd: 'reveal arg 2 to all players' is not a boolean 'reveal arg 2 to loop player' is not a boolean 'hide arg 2 to all players' is not a boolean
-
Dobra, rozumiem xD, temat do zamknięcia
-
Witam, aktualnie piszę skript, jednak wyskakuje błąd. Fragment Kodu: command /MojaKomenda [<offlineplayer>]: trigger: set {_p} to arg-1 parsed as offline-player #Tutaj dalsze rzeczy, sama komende wymyslilem, jest inna, ale taka sama zasada Jednak wyskakuje blad: '1 parsed as offline-player' is not a type! Proszę o pomoc!
-
Powyżej widać mój skript na banowanie, nie jest on najlepszy. Ponieważ chcę doskonalić moje umiejętności, rozpoczynam pracę nad podobnym, lecz bardziej zaawansowanym skript'em! Nie wiem kiedy się pojawi, ale będzie lepszy!
-
on join: if player has diamond named "Speed": stop else: give diamond named "Speed" to player on click: if player's tool is diamond named "Speed": send "Speed" apply speed 1 to the player for 5 second # I tak dalej xD
-
command /teleport [<text>]: trigger: if arg 1 isn't set: send "&cPodaj nazwe teleportu!" if arg 1 is set: if {tele:%arg 1%} is set: teleport player to {tele:%arg 1%} if {tele:%arg 1%} isn't set: send "&aNie ma teleportu o nazwie &c%{tele:%arg 1%}% &a!" command /AdminTeleport [<text>] [<text>]: permission: Tele.all trigger: if arg 1 isn't set: send "&aNapisz &cUSTAW &alub &cUSUN&a!" else: if arg 1 is "ustaw": if {tele:%arg 2%} is set: send "&aTeleport &c%{tele:%arg 2%}% &ajuz istnieje!" if {tele:%arg 2%} isn't set: set {tele:%arg 2%} to location of player send "&aUstawiono &c%{tele:%arg 2%}% &aw twoje miejsce!" if arg 1 is "usun": if {tele:%arg 2%} is set: delete {tele:%arg 2%} send "&aUsunieto teleport &c%{tele:%arg 2%}% &a!" if {tele:%arg 2%} isn't set: send "&ateleport &c%{tele:%arg 2%}% &anie istnieje!"
-
Podpunkt 3 (Ban w gui) napisałem kiedyś, moge podać linka, sam musisz ustawić! Link do CODE SKRIPT! Link do opisanego wszystkiego. Skript zawiera autorskie: Bany, Vanish, Wymaga: PermissionsEx, DOdatki do SK takie jak Skquery, WildSkript
-
Wow... Ale teraz dylemat, czy mu chodziło o takie coś na własny serwer, czy on kombinuje że chce crashować graczy na innych serwerach? xD
-
Co jest z tobą nie tak? Tu jest SKRIPT.PL i tu się piszę skripty do mc? nie da się do crashowania czegoś zrobić? i i tak nikt by ci nie dał?
-
Dłuższe skrypty należy umieszczać na code.skript.pl
