LiamH

Untitled

Aug 21st, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. --Currently:
  2. if pythag(400,200,30,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y,30) then
  3. print("yay")
  4. end
  5.  
  6. --Wanting:
  7. function found(x,y,px,py,d)
  8. if room.found then
  9. room.found(x,y,d)
  10. end
  11. end
  12.  
  13. x,y=tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y
  14. if found(400,200,x,y,30) then
  15. print("yay")
  16. end
Advertisement
Add Comment
Please, Sign In to add comment