AlliedModders

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

Hawk552 11-07-2005 14:56

Attacking Help
 
Yes, I know how to detect if someone is attacking:

Code:
if((get_user_button(id) & IN_ATTACK)) { //lol

But how can you set whether someone is attacking or not? What I'm trying to do is speed up attacks, like in most speedhacks.

v3x 11-07-2005 14:58

I'm dumb

Hawk552 11-07-2005 15:00

Re: Attacking Help
 
Quote:

Originally Posted by Hawk552
Yes, I know how to detect if someone is attacking:

Code:
if((get_user_button(id) & IN_ATTACK)) { //lol

But how can you set whether someone is attacking or not? What I'm trying to do is speed up attacks, like in most speedhacks.


v3x 11-07-2005 15:13

Oh, lmao.

Something like this?
http://forums.alliedmods.net/showthread.php?p=87275

Hawk552 11-07-2005 15:17

Not really, I'm thinking the type of thing where you can cycle an entire clip on an AWP in half a second. It may not be possible though, thanks for trying.

XxAvalanchexX 11-07-2005 15:32

That really doesn't detect if someone is attacking, it will only tell you if they are holding a key that is bound to +attack, which does not always mean they are attacking. The only way you could make a weapon shoot faster is by changing the m_flNextPrimaryAttack or whatever it is called within the server dll, which is not possible.


All times are GMT -4. The time now is 23:56.

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