JoBoz

something..

Jun 14th, 2011
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. pos = pos( self getTagOrigin("tag_eye"), self GetCursorPosition(), self );
  2.  
  3.  
  4. GetCursorPosition()
  5. {
  6. return BulletTrace( self getTagOrigin("tag_eye"), vector_Scale(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];
  7. }
  8. vector_scale(vec, scale)
  9. {
  10. return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment