Miloszmen

Domy

Feb 19th, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. command /ustawdom:
  2. trigger:
  3. set {homes.%player%.location} to location of player
  4. message "&7Dom ustawiony."
  5.  
  6. command /dom:
  7. trigger:
  8. if {homes.%player%.location} is not set:
  9. message "&7Nie masz ustawionego domu."
  10. stop trigger
  11. teleport player to {homes.%player%.location}
  12. message "&7Teleportowano do domu."
  13.  
  14. command /usundom:
  15. trigger:
  16. delete {homes.%player%.location}
  17. message "&7Dom zostal usuniety."
  18.  
  19. on respawn:
  20. wait 1 tick
  21. teleport player to {homes.%player%.location}
  22. message "&7Teleportowano do domu."
Advertisement
Add Comment
Please, Sign In to add comment