Silly me I didn't noticed that I was calling it pev after the post-calculation.
Yes I have been using Damage event as well as Ham_TakeDamage ham
the problem is that the player isn't attacking. Think of it as if I were to re-create c4.
I thought Ham_TakeDamage doesn't execute on anything else but when damage has been received from someone/to someone.