Detect looking at bomb
How would you detect if a player is looking at the bomb?
|
Re: Detect looking at bomb
is_in_viewcone(entity, const Float:origin[3], use3d = 0) ?
|
Re: Detect looking at bomb
Hmm, I don't think that's it. I mean a whole function.
|
Re: Detect looking at bomb
I believe you want to detect if player is looking direct to bomb instead of just seeing it. Then you would do something similiar as:
PHP Code:
|
Re: Detect looking at bomb
Ah, that makes more sense. Thank you SnoW ;)
|
| All times are GMT -4. The time now is 15:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.