Bugsy, it didn't work. Thanks anyway, I could solve it with this:
PHP Code:
#include <amxmodx>
#include <hamsandwich>
const DMG_ACID = 76
public plugin_init()
{
RegisterHam( Ham_TakeDamage, "player", "HamTakeDamagePre", 0 )
}
public HamTakeDamagePre( vic, inf, att, Float:dmg, dmgbits )
{
if( dmgbits & DMG_ACID )
return HAM_SUPERCEDE;
return HAM_IGNORED;
}