Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. function Teleport(pl,cmd,args)
  2.         local trace=pl:GetEyeTrace()
  3.         local dest=trace.HitPos
  4.         dest = tostring( dest )
  5.         local start=trace.StartPos
  6.         start = tostring( start )
  7.         Msg ("Start pos:\n"..start.."Destination: "..dest)
  8. end
  9. concommand.Add("tel",Teleport)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement