get_user_aiming,in range?
This get the user id when aimed but how do i make it
only if target is in range... Code:
|
Re: get_user_aiming,in range?
You could calculate distance between players by checking both origins (get_user_origin).
I'm not a PRO so wait for some better idea, it should be ther :p |
Re: get_user_aiming,in range?
Code:
new distance |
Re: get_user_aiming,in range?
Emp`, the distance parameter is the number of units to limit the check to. So all he needs to do is set that (the default is 9999). The return value of get_user_aiming is the distance between the player and the hit object.
|
| All times are GMT -4. The time now is 16:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.