TheIroX2000

Untitled

Dec 28th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2. x_min: 1000
  3. x_max: 4000
  4. z_min: 1000
  5. z_max: 4000
  6.  
  7. command /tpr:
  8. trigger:
  9. if player has permissions "loswy.tpr":
  10. send "&6&nZostales teleportowany w losowe miejsce na mapie!"
  11. set {_x} to random integer between {@x_min} and {@x_max}
  12. set {_y} to 256
  13. set {_z} to random integer between {@z_min} and {@z_max}
  14. execute console command "/tppos %player% %{_x}% %{_y}% %{_z}%"
  15. apply speed 2 for 10 second
  16. execute console command "/god %player%
  17. wait 10 second
  18. execute console command "/god %player%
  19. else:
  20. send "&cNie masz uprawnien!" to player
Advertisement
Add Comment
Please, Sign In to add comment