Guest User

Untitled

a guest
Jun 4th, 2014
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. options:
  2. och: 2
  3. tag: &b[FreeBuild]&b
  4. variables:
  5. {ochrona::%player%} = false
  6. on first join:
  7. set {ochrona::%player%} to true
  8. wait 20 seconds
  9. send "{@tag}&7Twoja ochrona na 2 godziny zostala wlaczona!"
  10. if {ochrona::%player%} is true:
  11. wait {och} hour
  12. set {ochrona::%player%} to false
  13. on join:
  14. if {ochrona::%player%} is false:
  15. wait 20 seconds
  16. send "{@tag}&7Pamietaj, ze nie posiadasz ochrony!"
  17. on damage:
  18. if {ochrona::%player%} is true:
  19. cancel event
  20. send "Posiadasz ochrone i nie mozesz bic!"
  21. if {ochrona::%player%} is true:
  22. cancel event
  23. if {ochrona.gracz.%attacker%} is true:
  24. message "" to attacker
  25. else:
  26. send "&7Nie mozesz zaatakowac &7%victim%&7 poniewaz ma ochrone" to attacker
Advertisement
Add Comment
Please, Sign In to add comment