command /sklep [<text>]:
trigger:
wait 3 ticks
open chest with 2 row named " &8[&2&lSKLEP&8]" to player
format slot 0 of player with 1 blue_stained_glass_pane named "&2SKLEP" to close
format slot 1 of player with 1 stone named "&7COBBLESTONE" with lore "1 cobblestone = 1 Pc" to close then run [make player execute command "/cobblestone1"]
command /cobblestone1 [<text>]:
trigger:
wait 3 ticks
open chest with 1 row named " &8[&7COBBLESTONE&8]" to player
format slot 1 of player with 64 stone named "&cSPRZEDAJ 64 COBBLESTONE" to close then run [make player command "stoneha"]
command /stoneha [<text>]:
trigger:
if player has 64 stone:
add 64 from {kasa::%player%}
else:
send "&cNie posiadasz 64 stone" to player
w consoli to wywala :
[make player command "stoneha"] is not a vild lambda
statement (line 81 : format slot 1 of player with 63 stone named "Sprzedaj ..." to close then run [make player command "stoneha"]')
Can't understand this conditio/effect: add 64 from {kasa::%player%}
Pytanie
thesochac 3
command /sklep [<text>]:
trigger:
wait 3 ticks
open chest with 2 row named " &8[&2&lSKLEP&8]" to player
format slot 0 of player with 1 blue_stained_glass_pane named "&2SKLEP" to close
format slot 1 of player with 1 stone named "&7COBBLESTONE" with lore "1 cobblestone = 1 Pc" to close then run [make player execute command "/cobblestone1"]
command /cobblestone1 [<text>]:
trigger:
wait 3 ticks
open chest with 1 row named " &8[&7COBBLESTONE&8]" to player
format slot 1 of player with 64 stone named "&cSPRZEDAJ 64 COBBLESTONE" to close then run [make player command "stoneha"]
command /stoneha [<text>]:
trigger:
if player has 64 stone:
add 64 from {kasa::%player%}
else:
send "&cNie posiadasz 64 stone" to player
w consoli to wywala :
[make player command "stoneha"] is not a vild lambda
statement (line 81 : format slot 1 of player with 63 stone named "Sprzedaj ..." to close then run [make player command "stoneha"]')
Can't understand this conditio/effect: add 64 from {kasa::%player%}
Edytowane przez thesochacOdnośnik do komentarza
https://skript.pl/temat/31665-p%C3%B3mo%C5%BCcie-naprawi%C4%87-b%C5%82%C4%99dy/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.