Raised This Month: $ Target: $400
 0% 

Detect looking at bomb


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 08-31-2009 , 13:19   Re: Detect looking at bomb
Reply With Quote #1

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:
new entbodypart;
get_user_aimingidentbodypart );
if( 
is_ent_bombent ) )
     
//Action 
SnoW is offline
Send a message via MSN to SnoW
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode