Guest User

Untitled

a guest
Dec 9th, 2014
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. #Skrypt by MrPatryk07
  2. #Nazwa: Dzialki
  3. #Opis:
  4. #Za pomoca cmd robi dzialke 8x8x8 ale trzeba byc w odleglosci od [wczesniej ustawionego] spawnu 50kratek.
  5. #
  6.  
  7. command /setspawndzialki:
  8. permission: dzialki.admin
  9. trigger:
  10. set {dzialki.spawn} to location of player
  11. send "&4Ustawiles spawn!"
  12.  
  13. command /dzialka:
  14. trigger:
  15. if {dzialki.spawn} is set
  16. if distance between {dzialki.spawn} and location of player is greater than 50
  17. make console execute command "pex user %name of player% add worldedit.*"
  18. make console execute command "pex user %name of player% add worldguard.*"
  19. make player execute command "//pos1"
  20. make player execute command "//pos2"
  21. make player execute command "//expand 8 n"
  22. make player execute command "//expand 8 e"
  23. make player execute command "//expand 8 s"
  24. make player execute command "//expand 8 w"
  25. make player execute command "//expand vert"
  26. wait 1 tick
  27. make player execute command "rg define %player%"
  28. wait 1 tick
  29. make console execute command "pex user %name of player% remove worldguard.*"
  30. make console execute command "pex user %name of player% remove worldedit.*"
  31. else:
  32. send "&4Musisz byc w odleglosci 50kratek od spawnu!"
Advertisement
Add Comment
Please, Sign In to add comment