command /drop:
trigger:
open chest with 3 rows named "&cDrop" to player
format slot 10 of player with 1 of emerald named "&2&lEMERALD" with lore "&8» &7Szansa: &60%||&7Status: {emerald.%player%}" to run [make player execute command "/emerald"]
format slot 11 of player with 1 of apple named "&c&lJABLKO" with lore "&8» &7Szansa: &60%||&7Status: {apple.%player%}" to run [make player execute command "/apple"]
format slot 12 of player with 1 of iron ingot named "&7&lIRON" with lore "&8» &7Szansa: &60%||&7Status: {iron.%player%}" to run [make player execute command "/iron"]
format slot 13 of player with 1 of ender pearl named "&1&lPERLA" with lore "&8» &7Szansa: &60%||&7Status: {pearl.%player%}" to run [make player execute command "/pearl"]
format slot 14 of player with 1 of obsidian named "&9&lOBSYDIAN" with lore "&8» &7Szansa: &60%||&7Status: {obsidian.%player%}" to run [make player execute command "/obsidian"]
format slot 16 of player with 1 of string named "&f&lNITKA" with lore "&8» &7Szansa: &60%||&7Status: {string.%player%}" to run [make player execute command "/string"]
format slot 17 of player with 1 of redstone named "&4&lREDSTONE" with lore "&8» &7Szansa: &60%||&7Status: {redstone.%player%}" to run [make player execute command "/redstone"]
format slot 18 of player with 1 of tnt named "&4&lTnT" with lore "&8» &7Szansa: &60%||&7Status: {tnt.%player%}" to run [make player execute command "/tnt"]
format slot 19 of player with 1 of diamond named "&9&DIAMENT" with lore "&8» &7Szansa: &60%||&7Status: {diamond.%player%}" to run [make player execute command "/diamond"]
format slot 20 of player with 1 of gold ingot named "&6&lZLOTO" with lore "&8» &7Szansa: &60%||&7Status: {gold.%player%}" to run [make player execute command "/gold"]
format slot 21 of player with 1 of coal named "&7&lWEGIEL" with lore "&8» &7Szansa: &60%||&7Status: {coal.%player%}" to run [make player execute command "/coal"]
format slot 23 of player with 1 of lapis lazuli named "&3&lLAPIS" with lore "&8» &7Szansa: &60%||&7Status: {lapis.%player%}" to run [make player execute command "/lapis"]
Błąd jest następujący:
[17:36:25 ERROR]: [Skript] '"/string"]' is not a text (drop.sk, line 317: format slot 16 of player with 1 of string named "&f&lNITKA" with lore "&8╗ &7Szansa: &60%||&7Status: {string.%player%}" to run [make player execute command "/string"]')
Pytanie
kalendarmenn 0
Witam!
Mam otóż problem z tym kawałkiem kodu:
Błąd jest następujący:
Tak jest w każdej linijce. Proszę o pomoc!
Edytowane przez BrixNWWstawiam w code.
Notatka dodana przez Briks
Odnośnik do komentarza
Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi