Guest User

Untitled

a guest
Feb 16th, 2016
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. #By xBetter
  2. variables:
  3. {on.tnt} = true
  4. command /tnt [<text>]:
  5. permission: tnt.on
  6. permission message: &4Blad: &cBrak uprawnien!
  7. trigger:
  8. if arg 1 is not set:
  9. if {on.tnt} is false
  10. set {tnt.wlaczone} to true
  11. broadcast "&8> &7TNT zostalo wlaczone przez &c%player%&7!"
  12. stop
  13. if {on.tnt} is true
  14. set {tnt.wlaczone} to false
  15. broadcast "&8> &7TNT zostalo wylaczone przez &c%player%&7!"
  16. stop
  17. if arg 1 is set:
  18. send "&4Blad: &cWpisz &a/tnt &caby wylaczyc lub wlaczyc tnt!"
  19. on place a tnt:
  20. {on.tnt} is false:
  21. send "&4Blad: &cTNT jest tymczasowo wylaczone!"
  22. cancel event
  23. on place a Dispenser:
  24. {on.tnt} is false:
  25. send "&4Blad: &cDispensery sa tymczasowo wylaczone!"
  26. cancel event
  27. on place a Dropper:
  28. {on.tnt} is false:
  29. send "&4Blad: &cDroppery sa tymczasowo wylaczone!"
  30. cancel event
  31. stop
Advertisement
Add Comment
Please, Sign In to add comment