View Single Post
Monkeys
Veteran Member
Join Date: Jan 2010
Old 10-04-2010 , 07:28   Re: Disable Shooting
Reply With Quote #2

There are some ways.
If you truely want to "stop" them from shooting, you can change buttons to disable the action, but you'd get prediction issues.

Best way of doing this would be to use SDKHooks, hook OnTakeDamage and check if the attacker == the guy in the no-shoot zone and if so, set damage to 0.
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys is offline