Witam, jak gracz ma bana i nie ma rzecz która leczy czli np. slime (341) to i tak nie kasuje itemku jak uleczam.
----
I, żeby to działo jako komenda /ulecz siebie
on rightclick holding a diax: if {zycia.%player%} is 10: send "{@Logo}&7Limit zyc wynosi &c10" else: add 1 to {zycia.%player%} send "{@Logo}&7Am am diaxik. &cDostales 1 zycie, twoje zycia wynosza teraz %{zycia.%player%}%" remove 1 diax from player
-------
SKRYPT:
options: Logo : &b[&6Zycia&b] &rvariables: {zycia.%player%} = 3aliases: diax = 341on death of player: player doesn't have permission "zycia.admin" remove 1 from {zycia.%player%} send "{@Logo}&7Giniesz i tracisz &c1 &7zycie." to playercommand /zycia <player = %player%>: executable by: player and console trigger: send "&b{@Logo}&7Zycia &f%argument%&7: &c%{zycia.%player%}%"command /ulecz <text>: executable by: player and console trigger: if {zycia.%argument%} is 0: if player doesn't have permission "zycia.admin": remove 1 from {zycia.%player%} add 1 to {zycia.%argument%} send "{@Logo}&7Oddales 1 zycie graczowi &c%argument%" unban argument else: send "{@Logo}&7Ten gracz zyje, nie ma potrzeby oddawac mu zycia"command /ustaw <player> <number>: executable by: player and console trigger: set {zycia.%argument 1%} to argument 2on rightclick holding a diax: if {zycia.%player%} is 10: send "{@Logo}&7Limit zyc wynosi &c10" else: add 1 to {zycia.%player%} send "{@Logo}&7Am am diaxik. &cDostales 1 zycie, twoje zycia wynosza teraz %{zycia.%player%}%" remove 1 diax from playeron respawn: player doesn't have permission "VIP" if {zycia.%player%} is 0: wait 2 seconds broadcast "{@Logo}&f%player% &7ma &40 zyc &fi zostal zbanowany" kick the player due to "{@Logo}&b&lStraciles wszystkie zycia" ban playeron connect: player doesn't have permission "VIP" if {zycia.%player%} is 0: kick the player due to "{@Logo}&b&lStraciles wszystkie zycia"
Pytanie
Drake_PL 0
on rightclick holding a diax: if {zycia.%player%} is 10: send "{@Logo}&7Limit zyc wynosi &c10" else: add 1 to {zycia.%player%} send "{@Logo}&7Am am diaxik. &cDostales 1 zycie, twoje zycia wynosza teraz %{zycia.%player%}%" remove 1 diax from playeroptions: Logo : &b[&6Zycia&b] &rvariables: {zycia.%player%} = 3aliases: diax = 341on death of player: player doesn't have permission "zycia.admin" remove 1 from {zycia.%player%} send "{@Logo}&7Giniesz i tracisz &c1 &7zycie." to playercommand /zycia <player = %player%>: executable by: player and console trigger: send "&b{@Logo}&7Zycia &f%argument%&7: &c%{zycia.%player%}%"command /ulecz <text>: executable by: player and console trigger: if {zycia.%argument%} is 0: if player doesn't have permission "zycia.admin": remove 1 from {zycia.%player%} add 1 to {zycia.%argument%} send "{@Logo}&7Oddales 1 zycie graczowi &c%argument%" unban argument else: send "{@Logo}&7Ten gracz zyje, nie ma potrzeby oddawac mu zycia"command /ustaw <player> <number>: executable by: player and console trigger: set {zycia.%argument 1%} to argument 2on rightclick holding a diax: if {zycia.%player%} is 10: send "{@Logo}&7Limit zyc wynosi &c10" else: add 1 to {zycia.%player%} send "{@Logo}&7Am am diaxik. &cDostales 1 zycie, twoje zycia wynosza teraz %{zycia.%player%}%" remove 1 diax from playeron respawn: player doesn't have permission "VIP" if {zycia.%player%} is 0: wait 2 seconds broadcast "{@Logo}&f%player% &7ma &40 zyc &fi zostal zbanowany" kick the player due to "{@Logo}&b&lStraciles wszystkie zycia" ban playeron connect: player doesn't have permission "VIP" if {zycia.%player%} is 0: kick the player due to "{@Logo}&b&lStraciles wszystkie zycia"Odnośnik do komentarza
https://skript.pl/temat/3870-%C5%BCycia-nie-usuwa-itemku/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi