Skocz do zawartości
  • 0

Problem z on rightclick:


Kapo44

Pytanie

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

 

Odnośnik do komentarza
https://skript.pl/temat/15527-problem-z-on-rightclick/
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
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

@topic

 

Odnośnik do komentarza
https://skript.pl/temat/15527-problem-z-on-rightclick/#findComment-106445
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...