Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
- # .d888888 dP 888888ba dP #
- # d8' 88 88 88 `8b 88 #
- # 88aaaaa88a 88d888b. .d8888b. 88d8b.d8b. .d8888b. 88 .dP a88aaaa8P' 88 #
- # 88 88 88' `88 88' `88 88'`88'`88 88ooood8 88888" 88 88 #
- # 88 88 88 88. .88 88 88 88 88. ... 88 `8b. 88 88 #
- # 88 88 dP `88888P8 dP dP dP `88888P' dP `YP dP 88888888 #
- #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
- # ======================== #
- # Nazwa: NewPlayerGuard
- # Autor: AramekPL
- # Wersja: 0.1
- # ======================== #
- # Opis: Nowy gracz dostaje
- # na start dostaje ochronę
- # przed PVP.
- # ======================== #
- on first join:
- wait 1 second
- set {ochrona.%player%} to true
- send "&aOtrzymales 30 minutowa pchrona przed PVP na start!"
- wait 30 minutes
- send "&aTwoja ochrona skonczyla sie!"
- set {ochrona.%player%} to false
- on damage:
- if attacker is player:
- if {ochrona.%victim%} is true:
- cancel event
- send "&aNie mozesz go uderzyc bo ma ochrone!" to attacker
- if {ochrona.%attacker%} is true:
- cancel event
- send "&aMasz ochrone wiec nie mozesz bic innych!" to attacker
Advertisement
Add Comment
Please, Sign In to add comment