If it is easily changed, how would I change it to block only the knife?
PHP Code:
public tess_TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
if ( damagebits & DMG_BULLET && g_HasTessOne[this] && g_IsImmune[this] && get_user_weapon(idattacker) != CSW_KNIFE ) {
SetHamParamFloat(4, 0.0)
return HAM_SUPERCEDE
}
return HAM_IGNORED
}
Would removing the ! in != CSW_KNIFE ) be sufficient? It would make sense, but everything is so damn complicated so I doubt it is that simple.
__________________
Jelle (1): I LOVE YOU
Jelle (1): Yeah. omg you are so awesome!
--------------
Jelle (1): You know when a poo is about to exit but it is too big?
Jelle (1): God my ass still hurts