Witam, czy ktoś mógłby dodać do tego skryptu citizen'a z pluginu CITIZENS ?? zamiast zombie ??
kod:
Spoiler
# ANTYAURA SCRIPT # Autor: Fadex # Copyright 2016 # SPAWN EVENT every 15 seconds: loop all players: spawn zombie 2 meters above loop-player set name of last spawned zombie to "&4%loop-player%|ANTYAURA" set health of last spawned zombie to 1000 apply invisibility to last spawned zombie apply fire resistance to last spawned zombie wait 3 ticks loop all zombies: if name of loop-zombies contain "|ANTYAURA": delete loop-zombies # HIT EVENT on damage: victim is zombie if name of victim is "&4%attacker%|ANTYAURA": cancel event add 1 to {fxaura.%attacker%} if {fxaura.%attacker%} is 5: loop all players: if loop-player have permission "fxaura.admin": send "&8» &7Sprawdzanie killaury gracza &4%attacker% &7(5)" to loop-player if {fxaura.%attacker%} is greater or equal to 10: clear {fxaura.%attacker%} set {fxaura.ban.%attacker%} to true broadcast "&8» &7Gracz &6%attacker% &7zostal permanentnie zbanowany przez &6ANTYCHEAT &7za: &6Cheaty (Killaura)" ban attacker due to "&8» &cZOSTALES ZBANOWANY &8«%nl%&8» &7Cheaty (Killaura)" # JOIN EVENT on join: set {fxaura.%player%} to 0 #reset uderzeń # CLEAR DROPS - ewentualne zabezpieczenie on death of zombie: if name of victim contain "ANTYAURA": clear drops # DAMAGE - blokada obrażeń dla gracza [ewentualne] on damage: attacker is zombie if name of attacker contain "|ANTYAURA": cancel event
Pytanie
Szybki_Johny 2
Witam, czy ktoś mógłby dodać do tego skryptu citizen'a z pluginu CITIZENS ?? zamiast zombie ??
kod:
# ANTYAURA SCRIPT # Autor: Fadex # Copyright 2016 # SPAWN EVENT every 15 seconds: loop all players: spawn zombie 2 meters above loop-player set name of last spawned zombie to "&4%loop-player%|ANTYAURA" set health of last spawned zombie to 1000 apply invisibility to last spawned zombie apply fire resistance to last spawned zombie wait 3 ticks loop all zombies: if name of loop-zombies contain "|ANTYAURA": delete loop-zombies # HIT EVENT on damage: victim is zombie if name of victim is "&4%attacker%|ANTYAURA": cancel event add 1 to {fxaura.%attacker%} if {fxaura.%attacker%} is 5: loop all players: if loop-player have permission "fxaura.admin": send "&8» &7Sprawdzanie killaury gracza &4%attacker% &7(5)" to loop-player if {fxaura.%attacker%} is greater or equal to 10: clear {fxaura.%attacker%} set {fxaura.ban.%attacker%} to true broadcast "&8» &7Gracz &6%attacker% &7zostal permanentnie zbanowany przez &6ANTYCHEAT &7za: &6Cheaty (Killaura)" ban attacker due to "&8» &cZOSTALES ZBANOWANY &8«%nl%&8» &7Cheaty (Killaura)" # JOIN EVENT on join: set {fxaura.%player%} to 0 #reset uderzeń # CLEAR DROPS - ewentualne zabezpieczenie on death of zombie: if name of victim contain "ANTYAURA": clear drops # DAMAGE - blokada obrażeń dla gracza [ewentualne] on damage: attacker is zombie if name of attacker contain "|ANTYAURA": cancel event
//taki kod dajemy w spoiler ~
Odnośnik do komentarza
https://skript.pl/temat/12341-dodanie-citizen/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi