
02-21-2004, 08:33 PM
|
Scripter
|
 |
Join Date: May 2003
Location: NYC
Posts: 553
|
|
...
dx=mousex-playerx;
dy=mousey-playery;
angle=getangle(dx,dy);
btw u might want to change dx and dy so its from the center of the mouse and player but that's the concept =) |
__________________
|
|
|