options:
pkt: 100 #Ilosc potrzebnych punktow do awansowania na kolejny lvl
procent: 100
blok: stone
variables:
{lvl.%player%} = 0
{plvl.%player%} = 0
{pplvl.%player%} = true
on mine of {@blok}:
if {pplvl.%player%} is true:
chance of {@procent}%:
add 1 to {lvl.%player%}
if {lvl.%player%} is {@pkt}:
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
send "&8## &eGratulacje! &7Twoj Chat Zostal &eOdblokowany"
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
execute console command "playsound random.levelup %player%"
set {pplvl.%player%} to false
stop
on chat:
if {pplvl.%player%} is true:
if player doesn't have permission "antyreklama.rek":
cancel event
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
send "&8## &7Musisz Wykopac &e100 &7Kamienia aby Pisac na &eChat"
send "&8## &7sprawdz ile juz wykopales pod komenda &e/stone"
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
stop
command /stone:
trigger:
if {pplvl.%player%} is true:
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
send "&8## &7Wykopales &e%{lvl.%player%}%/100 &7Stone."
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
stop
Pytanie
Ciatek 0
Witam . Mam taki skrypt: , w skrypcie wywala błędy scren: http://screenshot.sh/oBJZXQ6a67FQE
options:
pkt: 100 #Ilosc potrzebnych punktow do awansowania na kolejny lvl
procent: 100
blok: stone
variables:
{lvl.%player%} = 0
{plvl.%player%} = 0
{pplvl.%player%} = true
on mine of {@blok}:
if {pplvl.%player%} is true:
chance of {@procent}%:
add 1 to {lvl.%player%}
if {lvl.%player%} is {@pkt}:
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
send "&8## &eGratulacje! &7Twoj Chat Zostal &eOdblokowany"
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
execute console command "playsound random.levelup %player%"
set {pplvl.%player%} to false
stop
on chat:
if {pplvl.%player%} is true:
if player doesn't have permission "antyreklama.rek":
cancel event
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
send "&8## &7Musisz Wykopac &e100 &7Kamienia aby Pisac na &eChat"
send "&8## &7sprawdz ile juz wykopales pod komenda &e/stone"
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
stop
command /stone:
trigger:
if {pplvl.%player%} is true:
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
send "&8## &7Wykopales &e%{lvl.%player%}%/100 &7Stone."
send "&8&L&M]------------}&f&e&L CHAT &8&L&M{------------["
stop
Odnośnik do komentarza
https://skript.pl/temat/9813-skrypt-wywala-b%C5%82%C4%99dy/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi