Co może powodować ze /coins nick ilość nie daje coinów graczowi poprzez komende w consoli jak i normalnie?
variables:{coins.%player%}=0
options:
sklepp:&8[&6SKLEP&8]
command /sklep [<text>]:
aliases: shop
trigger:if arg 1 is not set:
open chest with1 rows named "&8[&6SKLEP&8]" to player
wait 0.4 seconds
format slot 0of player with1of gold ingot named "&6&lRANGI"with lore "Otwiera sklep rang." to run [make player execute "sklep rangi"]
wait 0.4 seconds
format slot 8of player with1of yellow wool named "&9Posiadasz &6%{coins.%player%}% &9coisnow!"with lore "" to run [make player execute ""]if arg 1 is "rangi":
open chest with1 rows named "&6&lRANGI" to player
wait 1 tick
format slot 0of player with1of gold ingot named "&6VIP"with lore "&9Cena&7: &6100 &9Czas&7: &630&9dni" to close then run [make player execute "sklepbuy vip %player%"]
wait 0.5 seconds
format slot 1of player with1of gold ingot named "&6VIP&e+"with lore "&9Cena&7: &6210 &9Czas&7: &630&9dni" to close then run [make player execute "sklepbuy vip+ %player%"]
wait 0.5 seconds
format slot 8of player with1of yellow wool named "&9Posiadasz &6%{coins.%player%}% &9coisnow!"with lore "" to run [make player execute ""]
command /coins [<player>][<text>]:
permission: coisny.daj
permission message:&4Brak uprawnien ;&a(coinsy.daj)&4!!
trigger:if arg 1 is not set:
send "&4Musisz podac gracza!"if arg 1 is set:if arg 2 is not set:
send "&aDostepne &3coinsy: 100 , 500 , 999"
stop
if arg 1 is set:if arg 2 is "100":
add 100 to {coins.%player%}
send "{@sklepp}&a Dales &6100 &a coinsow dla gracza &6%arg 1%&a!"if arg 1 is set:if arg 2 is "500":
add 500 to {coins.%player%}
send "{@sklepp}&a Dales &6500 &a coinsow dla gracza &6%arg 1%&a!"if arg 1 is set:if arg 2 is "999":
add 999 to {coins.%player%}
send "{@sklepp}&a Dales &6999 &a coinsow dla gracza &6%arg 1%&a!"
command /sklepbuy [<text>][<player>]:
trigger:if arg 1 is "vip":if{coins.%player%} is less than 100:
send "&8+ &9Nie Posiadasz &6100 &9coinsow! Posiadasz: &6%{coins.%player%}% &9coinsow"
stop
if{coins.%player%} is equal to 100:
remove 100 from {coins.%player%}
execute console command "lp user %player-arg% parent addtemp vip 30d"
send "&bZakupiles range &6VIP"
broadcast "{sklepp} &8» &6%player-arg% &9zakupil &6&lVIP &9na 30dni poprzez &6&l/sklep&9!"
stop
if{coins.%player%} is more than 100:
remove 100 from {coins.%player%}
execute console command "lp user %player-arg% parent addtemp vip 30d"
send "&bZakupiles range &6VIP"
broadcast "{sklepp} &8» &6%player-arg% &9zakupil &6&lVIP &9na 30dni poprzez &6&l/sklep&9!"
stop
if arg 1 is "vip+":if{coins.%player%} is less than 210:
send "&8+ &9Nie Posiadasz &6210 &9coinsow! Posiadasz: &6%{coins.%player%}% &9coinsow"
stop
if{coins.%player%} is equal to 210:
remove 210 from {coins.%player%}
execute console command "lp user %player-arg% parent addtemp vip+ 30d"
send "&8+ &bZakupiles 32 Koxy"
stop
if{coins.%player%} is more than 210:
remove 210 from {coins.%player%}
execute console command "lp user %player-arg% parent addtemp vip+ 30d"
send "&8+ &bZakupiles 32 Koxy"
stop
command /kasa [<text>]:
trigger:if arg 1 is not set:
send "&8+ {@sklepp} &9Posiadasz &6%{coins.%player%}% &9coisnow!"
wait 2 seconds
Pytanie
Revero 1
Co może powodować ze /coins nick ilość nie daje coinów graczowi poprzez komende w consoli jak i normalnie?
Odnośnik do komentarza
https://skript.pl/temat/35603-sklep/Udostępnij na innych stronach
2 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ą.