MrAnvilPlay 18 Opublikowano 17 marca 2015 Udostępnij Opublikowano 17 marca 2015 Witam.Wiecie może jak dać kolorową zbroje poprzez efekt give? W sensie że miałoby to wyglądać tak:command /zbroja: trigger: give leather tunic of color (?) 0,0,0 to player Chciałbym żeby dało zbroje całkiem czarną :) Odnośnik do komentarza https://skript.pl/temat/6820-kolorowa-zbroja-w-skrypcie/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 #Aperture 278 Opublikowano 17 marca 2015 Udostępnij Opublikowano 17 marca 2015 give leather tunic dyed black może to zadziała? Odnośnik do komentarza https://skript.pl/temat/6820-kolorowa-zbroja-w-skrypcie/#findComment-55391 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Norbi 1337 Opublikowano 17 marca 2015 Udostępnij Opublikowano 17 marca 2015 command /zbroja: trigger: set {_zbroja} to leather tunic give 1 of {_zbroja} to player dye {_zbroja} (0, 0, 0)nie testowane. Odnośnik do komentarza https://skript.pl/temat/6820-kolorowa-zbroja-w-skrypcie/#findComment-55439 Udostępnij na innych stronach Więcej opcji udostępniania...
0 ✔ мÑ�иaωi 1/8 ✔ 1 Opublikowano 20 marca 2015 Udostępnij Opublikowano 20 marca 2015 variables: {rainbow} = false {rainbow.%player%} = false on enable: send "&7&l[&c&lT&e&lE&a&lC&9&lZ&d&lA&7&l]&f&lWlaczanie..." to console wait 20 ticks set {rainbow} to true set {red} to 255 set {blue} to 0 set {green} to 0 wait 20 ticks send "&7&l[&c&lT&e&lE&a&lC&9&lZ&d&lA&7&l]&2&lWlaczony pomyslnie!" to console while {rainbow} is true: if {rainbow} is true: loop 255 times: if {rainbow} is true: add 1 to {green} wait a tick else: stop else: stop if {rainbow} is true: loop 255 times: if {rainbow} is true: remove 1 from {red} wait a tick else: stop else: stop if {rainbow} is true: loop 255 times: if {rainbow} is true: add 1 to {blue} wait a tick else: stop else: stop if {rainbow} is true: loop 255 times: if {rainbow} is true: remove 1 from {green} wait a tick else: stop else: stop if {rainbow} is true: loop 255 times: if {rainbow} is true: add 1 to {red} wait a tick else: stop else: stop if {rainbow} is true: loop 255 times: if {rainbow} is true: remove 1 from {blue} wait a tick else: stop else: stop stop on disable: send "&7&l[&c&lT&e&lE&a&lC&9&lZ&d&lA&7&l]&f&lWylaczanie..." to console set {rainbow} to false set {red} to 255 set {blue} to 0 set {green} to 0 send "&7&l[&c&lT&e&lE&a&lC&9&lZ&d&lA&7&l]&2&lWlaczony pomyslnie!" to console stop command /rainbow [<text>]: permission: rainbow.use permission message: Nieznane polecenie. Wpisz "/pomoc" aby uzyskac pomoc. executable by: players trigger: if arg 1 is not set: send "" send "&3/rainbow on &7- &3wlacza efekt teczy" send "&3/rainbow off &7- &3wylacza efekt teczy" send "&3/rainbow set &7- &3daje darmowego, skorzanego seta" send "" if arg 1 is "set": if player has permission "rainbow.set": if {cooldown.%player%} is set: set {_roznica.tecza.set} to difference between {cooldown.%player%} and now if {_roznica.tecza.set} is greater than 86400 seconds: if player can hold 1 leather helmet: give 1 leather helmet of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" to the player else: drop 1 leather helmet of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" if player can hold 1 leather chestplate: give 1 leather chestplate of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" to the player else: drop 1 leather chestplate of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" if player can hold 1 leather leggings: give 1 leather leggings of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" to the player else: drop 1 leather leggings of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" if player can hold 1 leather boots: give 1 leather boots of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" to the player else: drop 1 leather boots of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" set {cooldown.%player%} to now else: send "&4Musisz odczekac jeszcze %difference between 86400 seconds and {_roznica.tecza.set}%" else: if player can hold 1 leather helmet: give 1 leather helmet of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" to the player else: drop 1 leather helmet of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" if player can hold 1 leather chestplate: give 1 leather chestplate of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" to the player else: drop 1 leather chestplate of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" if player can hold 1 leather leggings: give 1 leather leggings of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" to the player else: drop 1 leather leggings of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" if player can hold 1 leather boots: give 1 leather boots of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" to the player else: drop 1 leather boots of protection 4, unbreaking 3 named "&f&k|| &aDISCO SET %player% &f&k||" set {cooldown.%player%} to now else: send "Nieznane polecenie. Wpisz ""/pomoc"" aby uzyskac pomoc." if arg 1 is "on": if {rainbow.%player%} is false: if player is wearing leather armour: send "&a&lWlaczyles efekt teczy..." set {rainbow.%player%} to true while player is wearing leather armour: dye player's helmet ({red}, {green}, {blue}) dye player's chestplate ({red}, {green}, {blue}) dye player's legs ({red}, {green}, {blue}) dye player's boots ({red}, {green}, {blue}) wait a tick else: send "&4Musisz miec na sobie skorzany set!" else: send "&4Masz juz wlaczony efekt teczy!" if arg 1 is "off": if {rainbow.%player%} is true: set {rainbow.%player%} to false send "&c&lWylaczyles efekt teczy..." else: send "&4Nie masz wlaczonego efektu teczy! Aby go wlaczyc wpisz &a&l/rainbow on" on quit: if {rainbow.%player%} is true: set {rainbow.%player%} to false Odnośnik do komentarza https://skript.pl/temat/6820-kolorowa-zbroja-w-skrypcie/#findComment-55604 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
MrAnvilPlay 18
Witam.
Wiecie może jak dać kolorową zbroje poprzez efekt give?
W sensie że miałoby to wyglądać tak:
command /zbroja:
trigger:
give leather tunic of color (?) 0,0,0 to player
Chciałbym żeby dało zbroje całkiem czarną :)
Odnośnik do komentarza
https://skript.pl/temat/6820-kolorowa-zbroja-w-skrypcie/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi