Guest User

Untitled

a guest
Dec 21st, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  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. else:
  16. send "&cNie masz uprawnien!" to player
Advertisement
Add Comment
Please, Sign In to add comment