TraceAttack & TakeDamage
PHP Code:
I understand that "Ham_TraceAttack" activates when some player attack other player and "Ham_TakeDamage" is when the damage is deal. Lets say i want to prevent ct's from any damage if "catch" variable is true so what's the difference between these codes? PHP Code:
|
Re: TraceAttack & TakeDamage
Got what i needed :O
http://forums.alliedmods.net/showthr...am_TraceAttack |
Re: TraceAttack & TakeDamage
In Ham_TraceAttack the attack is bloqued
In Ham_TakeDamage the damage is bloqued |
Re: TraceAttack & TakeDamage
So basicly if you block it using traceattack, you wont get these "attack"-effekts like screenshake elc, because it is executed before. And (but Im not sure) I somewhere read that wih takedamage you cant block grenade damage (correct me if Im wrong)
|
| All times are GMT -4. The time now is 15:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.