AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Aiming (https://forums.alliedmods.net/showthread.php?t=144277)

Vechta 12-01-2010 12:13

Aiming
 
How to check if players crosshair looking on Enemys body?

drekes 12-01-2010 12:19

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

bibu 12-01-2010 12:28

Re: Aiming
 
client_prethink + get_user_aiming

Vechta 12-01-2010 12:31

Re: Aiming
 
Already solved.

Ye it was what i needed ^^ Thanks.
Quote:

Originally Posted by bibu (Post 1360946)
client_prethink + get_user_aiming


abdul-rehman 12-01-2010 12:46

Re: Aiming
 
Quote:

Originally Posted by bibu (Post 1360946)
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

Bugsy 12-01-2010 13:55

Re: Aiming
 
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


All times are GMT -4. The time now is 11:14.

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