Block player reload?
Hey i'm trying to block the player from reloading their gun.
Here is the code I am useing that does not work: Code:
|
Re: Block player reload?
http://forums.alliedmods.net/showthread.php?t=41265
Please search next time. |
Re: Block player reload?
Blocking weapon fire, including client-side sounds/animations != Blocking player reload -- I'm not sure how searching would've found him that.
But, some of the code from that post is still relevant. Take the client_PreThink example he uses and replace IN_ATTACK with IN_RELOAD, and also do your weapon check. |
Re: Block player reload?
Woops.
|
Re: Block player reload?
Thank both of you :)
|
| All times are GMT -4. The time now is 04:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.