Przy ładowaniu KAŻDEGO skryptu wyświetla mi się błąd z on rightclick:
|
v
[00:18:40 ERROR]: can't understand this event: 'on rightclick' (life.sk, line 1: on rightclick:')
cały skrypt:
on rightclick:
if player is holding wooden hoe named "&2Life wand":
if player has permission "life.heal":
if difference between {life::%player%::lastuse} and now is smaller than 10 seconds:
send "&a%difference between {life::%player%::lastuse} and now% &2seconds to use &aheal."
stop
send "&2You healed yourself"
heal player by 0.5 hearts
spawn 5 of particle heart:1 offset by 1, 2, 1 at player
execute console command "/playsound random.pop" to %player%
set {life::%player%::lastuse} to now
Pytanie
Kapo44 0
Przy ładowaniu KAŻDEGO skryptu wyświetla mi się błąd z on rightclick:
|
v
[00:18:40 ERROR]: can't understand this event: 'on rightclick' (life.sk, line 1: on rightclick:')
cały skrypt:
on rightclick: if player is holding wooden hoe named "&2Life wand": if player has permission "life.heal": if difference between {life::%player%::lastuse} and now is smaller than 10 seconds: send "&a%difference between {life::%player%::lastuse} and now% &2seconds to use &aheal." stop send "&2You healed yourself" heal player by 0.5 hearts spawn 5 of particle heart:1 offset by 1, 2, 1 at player execute console command "/playsound random.pop" to %player% set {life::%player%::lastuse} to nowOdnośnik do komentarza
https://skript.pl/temat/15527-problem-z-on-rightclick/Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi