Skocz do zawartości
  • 0

Niby god


Zeluss

Pytanie

Potrzebuje ... Moglby ktos napisac skrypt Ktory dodaje ci hp jak ktos cie uderzy jezeli wpiszesz komende /hp a permission do tej komendy to hp.hp . Chodzi o to, ze gracz wpisze /hp i jak cie ktos uderzy to nic ci nie zabiera ale zabiera z pol serca :) Rozumiecie ;d ? Mam nadzieje, ze tak :D

Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /hp:	trigger:		if {hp.%player%} is not set:			set {hp.%player%} to 0:		if {hp.%player%} is 0:			send "&cWlaczyles 'Niby Goda'!"			set {hp.%player%} to 1			stop		if {hp.%player%} is 1:			send "&cWylaczyles 'Niby Goda'!"			set {hp.%player%} to 0			stopon damage:	victim is player:		if {hp.%victim%} is 1:			cancel event			damage victim by 0.5 heart
Edytowane przez dodoz012609
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Jeżeli masz Spawn na osobnym świecie to dodaj:

command /hp:    trigger:        if {hp.%player%} is not set:            set {hp.%player%} to 0:        if {hp.%player%} is 0:            send "&cWlaczyles 'Niby Goda'!"            set {hp.%player%} to 1            stop        if {hp.%player%} is 1:            send "&cWylaczyles 'Niby Goda'!"            set {hp.%player%} to 0            stop on damage:    if victim world is "NazwaSwiata":        stop    victim is player:        if {hp.%victim%} is 1:            cancel event            damage victim by 0.5 heart

Jeżeli zaś masz dany region to:

command /hp:    trigger:        if {hp.%player%} is not set:            set {hp.%player%} to 0:        if {hp.%player%} is 0:            send "&cWlaczyles 'Niby Goda'!"            set {hp.%player%} to 1            stop        if {hp.%player%} is 1:            send "&cWylaczyles 'Niby Goda'!"            set {hp.%player%} to 0            stop on damage:    if victim region is "NazwaRegionu":        stop    victim is player:        if {hp.%victim%} is 1:            cancel event            damage victim by 0.5 heart
Odnośnik do komentarza
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ę...