-
Ilość zawartości
2271 -
Rejestracja
-
Wygrane w rankingu
23
Treść opublikowana przez bludis
- Poprzednia
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- Dalej
-
Strona 2 z 93
-
command /you [<text>]: trigger: send "%player%" to player
-
on rightclick with any pickaxe: set {_mana} to placeholder "aureliumskills_mana" from player if {_mana} < 20: send "Nie posiadasz many." stop apply haste 2 to player for 10 seconds send "Aktywowano." execute console command "komenda na usuwanie many" w komendzie wpisz komende, ktora bedzie usuwala 20 many (%player% to gracz) wymaga skript-placeholders
-
Przecież tutaj Ci już odpowiedziałem...
-
set line arg 1 of {_sign} to "%coloured arg 2%" -> set line arg 1 of {_sign} to coloured arg 2
-
Postawione bloki nie maja nazwy (musisz przy położeniu tej główki ustawiać jej lokacje do zmiennej, a przy zniszczeniu usuwać zmienną. Przy kliknięciu sprawdzać czy lokacja klikniętej główki jest zgodna z tą ze zmiennej) - jedynym sposobem jest sprawdzenie właściciela główki, ale Ty używasz kolorowych nazw, więc nie ma to jakiegokolwiek sensu.
-
command /sklep [<text>]: trigger: set {_gui} to chest inventory with 6 rows named "Sklep" set slot (integers between 0 and 54) of {_gui} to black stained glass pane set slot 0 of {_gui} to 16 of dirt named "Ziemia" with lore "Kupno: 100$" open {_gui} to player on inventory click: if event-inventory is player's inventory: stop if name of event-inventory is not "Sklep": stop cancel event if event-slot is black stained glass pane: stop if clicked slot is 0: if player's balance < 100: send "Nie posiadasz 100$." stop remove 100 from player's balance add 16 dirt to player send "Zakupiono." daloby sie to zrobic duzo razy lepiej, ale nie odnalazlbys sie w tym kodzie reszte uzupelnij sobie sam
-
command /nagroda [<text>]: trigger: if player's location is not {spawnNagroda}: send "Musisz ukończyć parkour." stop if {nagroda::%player%} is set: send "Odebrałeś już nagrodę." stop add 100 to player's balance send title "GIVEMC.PL" with subtitle "Gracz %player% przeszedł parkour i wygrał 100$!" to all players for 5 seconds send "&aDo twojego konta dodano 100$." set {nagroda::%player%} to true command /ustawmiejsce [<text>]: permission: default.op trigger: set {spawnNagroda} to player's location send "Ustawiono." miejsce, w ktorym mozna ustawic nagrode ustawia sie pod komenda /ustawmiejsce.
-
command /discoowca [<text>]: trigger: spawn sheep at location of player set name of last spawned sheep to "jeb_" to jest najrozsadniejsza opcja, robienie innych moze zle wplynac na dzialanie serwera w przypadku duzej ilosci takich owiec tak wiec dla optymalnego dzialania owca musi sie nazywac jeb_
-
takie rzeczy robi sie w generatorze swiata, a nie w skripcie
-
command /nagroda [<text>]: trigger: if {nagroda::%player%} is set: send "Odebrałeś już nagrodę." stop add 100 to player's balance send title "GIVEMC.PL" with subtitle "Gracz %player% przeszedł parkour i wygrał 100$!" to all players for 5 seconds send "&aDo twojego konta dodano 100$." set {nagroda::%player%} to true
-
on death of player: loop drops: chance of 50%: add loop-value to player remove loop-value from drops
-
command /nagroda [<text>]: trigger: if {nagroda::%player%} is set: send "Odebrałeś już nagrodę." stop add 100 to player's balance send title "GIVEMC.PL" with subtitle "Gracz %player% przeszedł parkour i wygrał 100$!" to player for 5 seconds set {nagroda::%player%} to true
-
command /setspawn: permission: default.op trigger: set {spawn} to location of player send "Ustawiono." command /spawn: trigger: teleport player to {spawn} send "Przeteleportowano." on respawn: teleport player to {spawn}
-
podaj wersje skripta, wersje serwera i silnik
-
w takim razie podejdzmy do tego troche od innej strony; function spawnNewBlock1(): set {_loc} to getRandomLoc() set {_bool} to checkLocation({_loc}) while {_bool} is false: set {_loc} to getRandomLoc() set {_bool} to checkLocation({_loc}) wait 1 second loop all blocks in radius 1.5 around {_loc}: if loop-block is air: set block at loop-block to cobblestone set {blockLives::%location of loop-block%} to 1 function checkLocation(loc: location) :: boolean: loop all blocks in radius 16 around {_loc}: if {szaf::%location of loop-block%::*} is not set: return true return false function getRandomLoc(xmin: integer=-10, xmax: integer=10, zmin: integer=-10, zmax: integer=10, world: text="jd") :: location: set {_x} to random integer between {_xmin} and {_xmax} set {_z} to random integer between {_zmin} and {_zmax} set {_loc} to highest block at location at {_x}, 0, {_z} in world ({_world} parsed as world) if block at {_loc} = air: if (block at {_loc}) and (block above block at {_loc}) != lava: return {_loc} else: add 1 to y-loc of {_loc} command /daj: trigger: spawnNewBlock1() w kazdym badz razie, musisz sobie z tym pokombinowac, bo nie mam zielonego pojecia co kiedy ma sie wykonywac i od czego sa poszczegolne zmienne
-
zaktualizuj plugin do wersji 2.9.2
-
nic mi to nie mowi, podaj ten blad
-
a co jesli itemow bedzie wiecej niz pomiesci cala skrzynka?
-
jesli warpy masz w essentials, to wystarczy, ze zabierzesz im permisje essentials.warps.nazwawarpu
-
W jakie kolory ma się przebarwiać i co ile sekund?
-
function spawnNewBlock1(): set {_loc} to getRandomLoc() while {blockLives::%{_loc}%} is set: set {_loc} to getRandomLoc() loop all blocks in radius 1.5 around {_loc}: if loop-block is air: set block at loop-block to cobblestone set {blockLives::%location of loop-block%} to 1 command /daj: trigger: spawnNewBlock1() function getRandomLoc(xmin: integer=-10, xmax: integer=10, zmin: integer=-10, zmax: integer=10, world: text="jd") :: location: set {_x} to random integer between {_xmin} and {_xmax} set {_z} to random integer between {_zmin} and {_zmax} set {_loc} to highest block at location at {_x}, 0, {_z} in world ({_world} parsed as world) if block at {_loc} = air: if (block at {_loc}) and (block above block at {_loc}) != lava: loop all blocks in radius 16 around {_loc}: if {szaf::%location of loop-block%::*} is set: return {_loc} getRandomLoc() else: add 1 to y-loc of {_loc}
-
Czego dokładnie nie rozumiesz?
-
command /kon: trigger: spawn an adult horse at player set {_h} to spawned horse set max health of {_h} to 40 heal {_h} tame {_h} to player equip {_h} with diamond horse armor equip {_h} with saddle set {_h}'s passenger to player while {_h} is alive: apply speed ({lvl} parsed as integer) to {_h} for 2 seconds set {_h}'s horse jump strength attribute to ({lvl} parsed as integer) wait 1 second teorytycznie powinno dzialac, ale nie mam zielonego pojecia
-
ale co ten kod ma robic?
-
on join: set {zycia::%player%} to 0 if {zycia::%player%} is not set command /zycia [<text>]: trigger: if arg 1 is not set: send "&4&lMasz %{zycia::%player%}% &4&lżyć!" stop if arg 1 is set: set {_lives} to {zycia::%arg 1%} if ({zycia::%arg 1%} is set) else 0 send "&4Gracz %arg 1% ma %{zycia::%arg 1%}% żyć!" on death of player: send "&4&lStraciłeś 1 życie!" to player remove 1 from {zycia::%player%} if {zycia::%player%} is 0: execute console command "/tempban %player% 24h &4Skończyły ci się życia!" send "&4&lGraczowi %player% skończyły sie życia i został zbanowany!" to all players on drink a potion: if name of player's tool is "&cEliksir życia": send "&cWypiles/as eliksir dajacy zycie" add 1 to {zycia::%player%} command /livesban [<text>] [<offlineplayer>]: permission: LBadmin trigger: if arg 2 is not set: send "&6/livesban &1add [gracz]" stop if arg 1 is "add": add 1 to {zycia::%arg 2%} send "Pomyślnie dodano życie" stop if arg 1 is "remove": remove 1 from {zycia::%arg 2%} send "Pomyślnie zabrano życie" stop send "&6/livesban &1add [gracz]"
- Poprzednia
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- Dalej
-
Strona 2 z 93
