Quote:
Originally Posted by generals
Brother, I think you don't understand me
I don't want to do less damage to the enemy when I get the knife
I want it when the knife is in my hand. The enemy will do me less damage by 40%
i searched of the forums before created this topic.. but I didn't find anything
|
Ah, the way you phrased it seemed like the other.
Quote:
Originally Posted by OhHai
So, you're hooking/unhooking SDKHook_OnTakeDamage every time a player switches weapons? Super sloppy.
|
A simple edit...just track if the knife is out via global client bool and toggle it as players switch to/from knife. Very similar but less SDK hooking/unhooking.
__________________