Raised This Month: $ Target: $400
 0% 

Aiming


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Vechta
Veteran Member
Join Date: Jun 2010
Old 12-01-2010 , 12:13   Aiming
Reply With Quote #1

How to check if players crosshair looking on Enemys body?
Vechta is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 12-01-2010 , 12:19   Re: Aiming
Reply With Quote #2

http://wiki.alliedmods.net/Half-Life...ts#StatusValue
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
bibu
Veteran Member
Join Date: Sep 2010
Old 12-01-2010 , 12:28   Re: Aiming
Reply With Quote #3

client_prethink + get_user_aiming
bibu is offline
Vechta
Veteran Member
Join Date: Jun 2010
Old 12-01-2010 , 12:31   Re: Aiming
Reply With Quote #4

Already solved.

Ye it was what i needed ^^ Thanks.
Quote:
Originally Posted by bibu View Post
client_prethink + get_user_aiming
Vechta is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 12-01-2010 , 12:46   Re: Aiming
Reply With Quote #5

Quote:
Originally Posted by bibu View Post
client_prethink + get_user_aiming
That is not a good idea
@Vectha you can look at my aim info plugin to check how i hooked when a user looks at an enemis body
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-01-2010 , 13:55   Re: Aiming
Reply With Quote #6

PreThink should be avoided when possible. Much more efficient to hook the StatusValue event and check the players aim there.

Search the forums for that events usage. Here's one thread http://forums.alliedmods.net/showthread.php?t=64923
__________________
Bugsy is offline
Reply


Thread Tools
Display Modes

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 11:14.


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