 |
|
Veteran Member
Join Date: Oct 2004
Location: abort73.com
|

03-28-2005
, 22:11
|
#2
|
One method, although probably not quite what you want, is you could use get_origin with the parameter that gets the bullet hit point (I can't remember the number) and store it. Then loop through all players and get their origins. Then use some kind of bubble sort method to figure out which one is closest. However, this would get player closest to what the crosshair is aiming at (ie: the wall at the end of the map) as opposed to the position of the crosshair on the user's screen.
I don't know if it will work, I'm not sure what you plan to do.
__________________
No longer around. Thanks your support, everyone! As always: THIS ONES FOR YOU
3000 PTS
|
|
|
|