Quote:
Originally Posted by Tolnaftate2004
tx = mousex + (screenwidth-mousescreenx)/16
ty = mousey + (screenheight-mousescreeny)/16
I did not test this extensively, but it seems to me that it would work at least while the mouse is in the client window.
|
I tested it. It still lags behind, but its not as bad as worldx() and worldy().
Though, since it still lags behind...I think I'm doing something wrong.