Skocz do zawartości
  • 0

Turn on i off


ProAlekPL

Pytanie

Mam problem, niby wszystko dobrze ale skrypt nie działa tak jakbym chciał. Chodzi o to żeby pisało że jest włączone i wyłączone

variables:    {turn.%player%} = "true"on rightclick:    if player is holding ghast tear:        if {turn.%player%} is true:            set {turn.%player%} to "false"            send "&9>> &cWlaczono zdolnosc" to player        if {turn.%player%} is false:            set {turn.%player%} to "true"            send "&9>> &cWylaczono zdolnosc" to player

       
   

Odnośnik do komentarza
https://skript.pl/temat/7903-turn-on-i-off/
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Hmmm, coś zrobiłem i teraz wyświetla text ale nie da się zatrzymać przez `stop`

variables:    {turn.%player%} = "true"on rightclick:    if player is holding ghast tear:	    if {turn.%player%} is "true":		    set {turn.%player%} to "false"		    send "&9>> &cWlaczono zdolnosc" to player	    if {turn.%player%} is "false":		    set {turn.%player%} to "true"		    send "&9>> &cWylaczono zdolnosc" to player
Edytowane przez ProAlekPL
Odnośnik do komentarza
https://skript.pl/temat/7903-turn-on-i-off/#findComment-62433
Udostępnij na innych stronach

  • 0
variables:    {turn.%player%} = trueon rightclick:    if player is holding ghast tear:		cancel event        if {turn.%player%} is true:            set {turn.%player%} to false            send "&9>> &cWlaczono zdolnosc" to player			stop        if {turn.%player%} is false:            set {turn.%player%} to true            send "&9>> &cWylaczono zdolnosc" to player			stop
Odnośnik do komentarza
https://skript.pl/temat/7903-turn-on-i-off/#findComment-62439
Udostępnij na innych stronach

  • 0

Może tak?

variables:    {turn.%player%} = trueon rightclick holding a ghast tear:   if {turn.%player%} is true:      set {turn.%player%} to false      send "&9>> &cWlaczono zdolnosc" to player      stop   if {turn.%player%} is false:      set {turn.%player%} to true      send "&9>> &cWylaczono zdolnosc" to player      stop
Odnośnik do komentarza
https://skript.pl/temat/7903-turn-on-i-off/#findComment-65648
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ę...