How to detect you are point at a entity ?
As the title !
|
Re: How to detect you are point at a entity ?
You can use get_user_aiming()
http://www.amxmodx.org/funcwiki.php?...ming&go=search |
Re: How to detect you are point at a entity ?
sorry for my mistake, this function only use for player right ?
I don't want to detect the player . |
Re: How to detect you are point at a entity ?
according to this code
Code:
Vector v_forward;thx your reply :) |
Re: How to detect you are point at a entity ?
get_user_aiming() will return any entity. Not only players
|
| All times are GMT -4. The time now is 14:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.