command /barbara:
trigger:
if player's tool is diamond or player's tool is gold:
set {_amount} to amount of player's tool
remove {_amount} of player's tool
if {_amount} > 0:
add {_amount} to {barbara}
send "&7Barbara obecnie ma &e%amount of diamonds and gold"
if {barbara} is greater than 1999:
set {barbara} to 0
execute console command "/turbocash 9m"
else:
send "&e&lBlad! &7Musisz trzymać diamenty lub złoto w ręku, aby dac je do Barbarze."
bledy:
"else" has be to placed just after an "if" or "else if"
cant compare a slot with ('diamond' or 'player's tool is gold')
Pytanie
tymborek 0
command /barbara:
trigger:
if player's tool is diamond or player's tool is gold:
set {_amount} to amount of player's tool
remove {_amount} of player's tool
if {_amount} > 0:
add {_amount} to {barbara}
send "&7Barbara obecnie ma &e%amount of diamonds and gold"
if {barbara} is greater than 1999:
set {barbara} to 0
execute console command "/turbocash 9m"
else:
send "&e&lBlad! &7Musisz trzymać diamenty lub złoto w ręku, aby dac je do Barbarze."
bledy:
"else" has be to placed just after an "if" or "else if"
cant compare a slot with ('diamond' or 'player's tool is gold')
Odnośnik do komentarza
https://skript.pl/temat/54453-naprawi-ktos-skrypt-2-bledy/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ą.